<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.m2osw.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Made to Order Software Corporation - gradient</title>
 <link>http://www.m2osw.com/taxonomy/term/631/all</link>
 <description></description>
 <language>en</language>
<item>
 <title>Appendix B — History of the SSWF reference</title>
 <link>http://www.m2osw.com/swf_appendix_b_history</link>
 <description>&lt;h3&gt;Dec 2, 2009&lt;/h3&gt;
&lt;p&gt;Moved the monolithic documentation to a multi-page hierarchical document that includes everything we had before plus many links, many terms attached to all pages (tags, English words.) And revision of most of the text for better English and clarification in some places.&lt;/p&gt;
&lt;p&gt;Strengthen the formatting with CCK fields so all declarations look alike.&lt;/p&gt;
&lt;p&gt;Broken up the actions from one large table to a set of pages.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_appendix_b_history&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_appendix_b_history#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/672">CSMTextSettings</category>
 <category domain="http://www.m2osw.com/taxonomy/term/635">DefineButton2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/599">DefineButtonSound</category>
 <category domain="http://www.m2osw.com/taxonomy/term/648">DefineEditText</category>
 <category domain="http://www.m2osw.com/taxonomy/term/646">DefineFont2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/673">DefineFont3</category>
 <category domain="http://www.m2osw.com/taxonomy/term/664">DefineFontAlignZones</category>
 <category domain="http://www.m2osw.com/taxonomy/term/595">DefineFontInfo</category>
 <category domain="http://www.m2osw.com/taxonomy/term/677">DefineMorphShape2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/675">DefineScalingGrid</category>
 <category domain="http://www.m2osw.com/taxonomy/term/676">DefineShape4</category>
 <category domain="http://www.m2osw.com/taxonomy/term/638">DefineSprite</category>
 <category domain="http://www.m2osw.com/taxonomy/term/655">DefineVideoStream</category>
 <category domain="http://www.m2osw.com/taxonomy/term/678">DoABC</category>
 <category domain="http://www.m2osw.com/taxonomy/term/654">DoInitAction</category>
 <category domain="http://www.m2osw.com/taxonomy/term/581">End</category>
 <category domain="http://www.m2osw.com/taxonomy/term/627">Export</category>
 <category domain="http://www.m2osw.com/taxonomy/term/661">FileAttributes</category>
 <category domain="http://www.m2osw.com/taxonomy/term/626">Import</category>
 <category domain="http://www.m2osw.com/taxonomy/term/663">Import2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/589">JPEGTables</category>
 <category domain="http://www.m2osw.com/taxonomy/term/674">Metadata</category>
 <category domain="http://www.m2osw.com/taxonomy/term/609">PlaceObject2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/662">PlaceObject3</category>
 <category domain="http://www.m2osw.com/taxonomy/term/607">Protect</category>
 <category domain="http://www.m2osw.com/taxonomy/term/653">ProtectDebug</category>
 <category domain="http://www.m2osw.com/taxonomy/term/658">ProtectDebug2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/659">ScriptLimits</category>
 <category domain="http://www.m2osw.com/taxonomy/term/660">SetTabIndex</category>
 <category domain="http://www.m2osw.com/taxonomy/term/582">ShowFrame</category>
 <pubDate>Sun, 13 Dec 2009 09:04:57 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">263 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Appendix A — The geometry in SWF — Gradient Fills</title>
 <link>http://www.m2osw.com/swf_appendix_a_gradientfills</link>
 <description>&lt;p&gt;It is possible in SWF to use gradient fills. The gradient definitions are pretty raw and require you to draw large objects (that you can scale down later if you wish). A radial fill will usually be used to draw a round corner or a big &amp;amp; smooth dot. A linear fill can be used to draw objects which go from one color to another. The linear fill goes from left to right by default. It can be rotation as required though. Yet, in either case what is drawn in the shape object needs to be at the right scale and in the right direction. This may not always prove easy to deal with!&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_appendix_a_gradientfills&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_appendix_a_gradientfills#comments</comments>
 <pubDate>Sun, 13 Dec 2009 08:06:32 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">260 at http://www.m2osw.com</guid>
</item>
<item>
 <title>SWF Any Filter (swf_any_filter)</title>
 <link>http://www.m2osw.com/swf_struct_any_filter</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-swf-structure&quot;&gt;&lt;legend&gt;SWF Structure Info&lt;/legend&gt;&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    8        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-structure&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;SWF Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;pre&gt;&lt;a name=&quot;swf_filter_type&quot;&gt;&lt;font color=&quot;green&quot;&gt;/* the filter type */&lt;/font&gt;&lt;/a&gt;
struct swf_filter_type {
	unsigned char	f_type;
};

struct swf_filter_glow {
	swf_filter_type	f_type;		&lt;font color=&quot;green&quot;&gt;/* 0, 2, 3, 4 or 7 */&lt;/font&gt;
	if(f_type == GradientGlow || f_type == GradientBevel) {
		unsigned char		f_count;
	}
	else {
		f_count = 1;
	}
	&lt;a href=&quot;/swf_struct_rgba&quot;&gt;swf_rgba&lt;/a&gt;		f_rgba[f_count];
	if(f_type == Bevel) {
		&lt;a href=&quot;/swf_struct_rgba&quot;&gt;swf_rgba&lt;/a&gt;		f_highlight_rgba[f_count];
	}
	if(f_type == GradientGlow || f_type == GradientBevel) {
		unsigned char		f_position[f_count];
	}
	signed long fixed	f_blur_horizontal;
	signed long fixed	f_blur_vertical;
	if(f_type != Glow) {
		signed long fixed	f_radian_angle;
		signed long fixed	f_distance;
	}
	signed short fixed	f_strength;
	unsigned		f_inner_shadow : 1;
	unsigned		f_knock_out : 1;
	unsigned		f_composite_source : 1;
	if(f_type == Bevel) {
		unsigned		f_on_top : 1;
	}
	else {
		unsigned		f_reserved : 1;
	}
	if(f_type == GradientGlow || f_type == GradientBevel) {
		unsigned		f_passes : 4;
	}
	else {
		unsigned		f_reserved : 4;
	}
};

struct swf_filter_blur {
	swf_filter_type		f_type;	&lt;font color=&quot;green&quot;&gt;/* 1 */&lt;/font&gt;
	unsigned long fixed	f_blur_horizontal;
	unsigned long fixed	f_blur_vertical;
	unsigned		f_passes : 5;
	unsigned		f_reserved : 3;
};

struct swf_filter_convolution {
	swf_filter_type	f_type;		&lt;font color=&quot;green&quot;&gt;/* 5 */&lt;/font&gt;
	unsigned char	f_columns;
	unsigned char	f_rows;
	long float	f_divisor;
	long float	f_bias;
	long float	f_weights[f_columns &amp;times; f_rows];
	&lt;a href=&quot;/swf_struct_rgba&quot;&gt;swf_rgba&lt;/a&gt;	f_default_color;
	unsigned	f_reserved : 6;
	unsigned	f_clamp : 1;
	unsigned	f_preserve_alpha : 1;
};

struct swf_filter_colormatrix {
	swf_filter_type	f_type;		&lt;font color=&quot;green&quot;&gt;/* 6 */&lt;/font&gt;
	long float	f_matrix[20];
};

struct swf_any_filter {
	&lt;a href=&quot;#swf_filter_type&quot;&gt;swf_filter_type&lt;/a&gt;			f_fitler_type;
	&lt;a href=&quot;#swf_filter_blur&quot;&gt;swf_filter_blur&lt;/a&gt;			f_filter_blur;
	&lt;a href=&quot;#swf_filter_colormatrix&quot;&gt;swf_filter_colormatrix&lt;/a&gt;		f_filter_colormatrix;
	&lt;a href=&quot;#swf_filter_convolution&quot;&gt;swf_filter_convolution&lt;/a&gt;		f_filter_convolution;
	&lt;a href=&quot;#swf_filter_glow&quot;&gt;swf_filter_glow&lt;/a&gt;			f_filter_glow;
};
&lt;/pre&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;A filter defines how to transform the objects it is attached to. The first byte is the filter type. The data following depend on the type. Because each filter is much different, they are defined in separate structures. You can attach a filter to an object using an ActionScript or the &lt;a class=&quot;swf_tagname&quot; href=&quot;/swf_tag_placeobject3&quot;&gt;&lt;strong&gt;PlaceObject3&lt;/strong&gt;&lt;/a&gt; tag.&lt;/p&gt;
&lt;p&gt;The following describes the different filters available since version 8.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_struct_any_filter&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_struct_any_filter#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/578">Display</category>
 <category domain="http://www.m2osw.com/taxonomy/term/581">End</category>
 <category domain="http://www.m2osw.com/taxonomy/term/662">PlaceObject3</category>
 <pubDate>Sun, 13 Dec 2009 04:32:03 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">242 at http://www.m2osw.com</guid>
</item>
<item>
 <title>SWF Gradient Record (swf_gradient_record)</title>
 <link>http://www.m2osw.com/swf_struct_gradient_record</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-swf-structure&quot;&gt;&lt;legend&gt;SWF Structure Info&lt;/legend&gt;&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    3        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-structure&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;SWF Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;pre&gt;
struct swf_gradient_record {
	if(f_tag == &lt;a href=&quot;/swf_tag_defineshape&quot;&gt;DefineMorphShape&lt;/a&gt; || f_tag == &lt;a href=&quot;/swf_tag_defineshape2&quot;&gt;DefineMorphShape2&lt;/a&gt;) {
		unsigned char	f_position;
		&lt;a href=&quot;/swf_struct_rgba&quot;&gt;swf_rgba&lt;/a&gt;	f_rgba;
		unsigned char	f_position_morph;
		&lt;a href=&quot;/swf_struct_rgba&quot;&gt;swf_rgba&lt;/a&gt;	f_rgba_morph;
	}
	else if(f_tag == &lt;a href=&quot;/swf_tag_defineshape3&quot;&gt;DefineShape3&lt;/a&gt; || f_tag == &lt;a href=&quot;/swf_tag_defineshape4&quot;&gt;DefineShape4&lt;/a&gt;) {
		unsigned char	f_position;
		&lt;a href=&quot;/swf_struct_rgba&quot;&gt;swf_rgba&lt;/a&gt;	f_rgba;
	}
	else {
		unsigned char	f_position;
		&lt;a href=&quot;/swf_struct_rgb&quot;&gt;swf_rgb&lt;/a&gt;		f_rgb;
	}
};&lt;/pre&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;The first record position should be 0 and the last 255. The   intermediate should use the corresponding value depending   on their position in the gradient effect.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_struct_gradient_record&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_struct_gradient_record#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/577">Define</category>
 <pubDate>Sun, 13 Dec 2009 02:44:26 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">240 at http://www.m2osw.com</guid>
</item>
<item>
 <title>SWF Gradient (swf_gradient)</title>
 <link>http://www.m2osw.com/swf_struct_gradient</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-swf-structure&quot;&gt;&lt;legend&gt;SWF Structure Info&lt;/legend&gt;&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    3        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-structure&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;SWF Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;pre&gt;
struct swf_gradient {
	if(tag == &lt;a href=&quot;/swf_tag_defineshape4&quot;&gt;DefineShape4&lt;/a&gt;) {
		unsigned		f_spread_mode : 2;
		unsigned		f_interpolation_mode : 2;
		unsigned		f_count : 4;
	}
	else {
		unsigned		f_pad : 4;
		unsigned		f_count : 4;
	}
	&lt;a href=&quot;/swf_struct_gradient_record&quot;&gt;swf_gradient_record&lt;/a&gt;	f_gradient_record[f_count];
	&lt;font color=&quot;green&quot;&gt;/* &lt;i&gt;f_type&lt;/i&gt; is defined in the &lt;a href=&quot;/swf_struct_fill_style&quot;&gt;swf_fill_style&lt;/a&gt; encompassing this gradient */&lt;/font&gt;
	if(f_type == 0x13) {
		signed short fixed	f_focal_point;
	}
};&lt;/pre&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;This structure defines a gradient. This is a set of colors which are   used to define an image with colors smoothly varying from one color to   the next. The gradient can be radial (circular) or linear (rectangular).&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;f_count&lt;/code&gt; field is limited depending on the tag used and the   version of SWF as defined below:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_struct_gradient&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_struct_gradient#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/577">Define</category>
 <category domain="http://www.m2osw.com/taxonomy/term/583">DefineShape</category>
 <category domain="http://www.m2osw.com/taxonomy/term/605">DefineShape2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/618">DefineShape3</category>
 <category domain="http://www.m2osw.com/taxonomy/term/676">DefineShape4</category>
 <pubDate>Sun, 13 Dec 2009 02:32:10 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">239 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Adding a header &amp; footer in a Cute Menu dropdown</title>
 <link>http://www.m2osw.com/doc_cutemenu_header_footer</link>
 <description>&lt;h2&gt;Image &amp;amp; text at the top and bottom&lt;/h2&gt;
&lt;p&gt;The &lt;strong&gt;Cute Menu Module&lt;/strong&gt; is all about making your menu look cute... This is achieved, in part, by the nice top bar, and a gradient in your dropdown. But what makes it even better are the images that you can make appear inside your menus.&lt;/p&gt;
&lt;p&gt;There are two areas for that purpose: the &lt;strong&gt;Header&lt;/strong&gt; and the &lt;strong&gt;Footer&lt;/strong&gt;. Both are handled the same way, it is just a flag in your menu item that changes between one and the other.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/doc_cutemenu_header_footer&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/doc_cutemenu_header_footer#comments</comments>
 <pubDate>Sat, 27 Jun 2009 21:14:52 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">59 at http://www.m2osw.com</guid>
</item>
<item>
 <title>How to create a theme for Drupal</title>
 <link>http://www.m2osw.com/theme_how_to_design</link>
 <description>&lt;p&gt;This page explains how a graphics person can work with us to create a web design that will immediately work with Drupal 6.x and Drupal 7.x.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/theme_how_to_design&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/theme_how_to_design#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/377">Advanced</category>
 <pubDate>Tue, 02 Jun 2009 22:38:44 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">45 at http://www.m2osw.com</guid>
</item>
</channel>
</rss>


