<?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 - sswf</title>
 <link>http://www.m2osw.com/taxonomy/term/89/all</link>
 <description></description>
 <language>en</language>
<item>
 <title>FSCommand2</title>
 <link>http://www.m2osw.com/swf_action_fscommand2</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-action&quot;&gt;&lt;legend&gt;SWF Action&lt;/legend&gt;&lt;div class=&quot;field field-type-content-taxonomy field-field-swf-action-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Category:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Miscellaneous        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-typed-action&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Details:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-identifier&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Identifier:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    45        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;&lt;em&gt;&amp;lt;n.a.&amp;gt;&lt;/em&gt;&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-action-len&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Length:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    0 byte(s)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-stack&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Stack:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    pop 1 (i), pop i1 (s)        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-action-operation&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Action Operation:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;div&gt;i&lt;sub&gt;1&lt;/sub&gt; := pop();&lt;br /&gt;
for(idx := 2; idx &amp;lt; i&lt;sub&gt;1&lt;/sub&gt; + 2; ++i&lt;sub&gt;1&lt;/sub&gt;)&amp;nbsp;{&lt;br /&gt;
&amp;nbsp; s&lt;sub&gt;idx&lt;/sub&gt; := pop();&lt;/div&gt;
&lt;div&gt;}&lt;br /&gt;
fscommand2(s&lt;sub&gt;2&lt;/sub&gt;, s&lt;sub&gt;3&lt;/sub&gt;, ..., s&lt;sub&gt;(i1 + 1)&lt;/sub&gt;);&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&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;Action 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-nodereference field-field-see-also&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;See Also:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_geturl&quot;&gt;Get URL&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_geturl2&quot;&gt;Get URL2&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_getvariable&quot;&gt;Get Variable&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Execute the external command (&lt;em&gt;s&lt;sub&gt;2&lt;/sub&gt;&lt;/em&gt;) passing on parameters 			(&lt;em&gt;s&lt;sub&gt;3&lt;/sub&gt;, s&lt;sub&gt;4&lt;/sub&gt; ... s&lt;sub&gt;n&lt;/sub&gt;&lt;/em&gt;.) The external command is likely a JavaScript function.&lt;/p&gt;
&lt;p class=&quot;rtecenter&quot;&gt;&lt;em&gt;&lt;strong&gt;IMPORTANT&amp;nbsp;NOTES&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Ammar Mardawi sent a correction for this action 			and it looks like it works the way it is described now.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_action_fscommand2&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_action_fscommand2#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/579">Action</category>
 <category domain="http://www.m2osw.com/taxonomy/term/697">Miscellaneous</category>
 <pubDate>Sun, 27 Dec 2009 08:41:01 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">347 at http://www.m2osw.com</guid>
</item>
<item>
 <title>ProductInfo</title>
 <link>http://www.m2osw.com/swf_tag_productinfo</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-swf-tag-info&quot;&gt;&lt;legend&gt;Tag Info&lt;/legend&gt;&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-number&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Number:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    41        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-content-taxonomy field-field-tag-swf-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Type:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Define        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&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-tag-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag 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_metadata {
	&lt;a href=&quot;/swf_struct_tag&quot;&gt;swf_tag&lt;/a&gt;			f_tag;		&lt;font color=&quot;green&quot;&gt;/* 41 */&lt;/font&gt;
	long			f_product_id;
	long			f_edition;
	unsigned char		f_major_version;
	unsigned char		f_minor_version;
	long long		f_build_number;
	long long		f_compilation_date;
};
&lt;/pre&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;The &lt;b class=&quot;swf_tagname&quot;&gt;ProductInfo&lt;/b&gt; tag stores information about the     tool used to generate the Flash animation. This is ignored by flash     players (unless it knows of problems in the generators...)&lt;/p&gt;
&lt;p&gt;The &lt;i&gt;f_product_id&lt;/i&gt; is expected to be a unique identifier for all     the products which can possibly generate an SWF output file.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_tag_productinfo&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_tag_productinfo#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/577">Define</category>
 <category domain="http://www.m2osw.com/taxonomy/term/640">ProductInfo</category>
 <pubDate>Wed, 16 Dec 2009 09:14:53 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">273 at http://www.m2osw.com</guid>
</item>
<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>The SSWF Project</title>
 <link>http://www.m2osw.com/swf_sswf_project</link>
 <description>&lt;p&gt;The SWF Reference by Alexis is part of the free SSWF project.&lt;/p&gt;
&lt;p&gt;This documentation is intended for people who want to program a Flash player, editor, or some similar tool handling Flash data.&lt;/p&gt;
&lt;p&gt;The project comes with a complete &lt;abbr class=&quot;mo-glossary mo-glossary-abbr&quot;  title=&quot;Object Oriented C&quot; lang=&quot;en&quot;&gt;C++&lt;/abbr&gt; library that is designed to greatly simplify the generation and loading of Flash files.&lt;/p&gt;

</description>
 <comments>http://www.m2osw.com/swf_sswf_project#comments</comments>
 <pubDate>Sun, 13 Dec 2009 08:27:36 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">262 at http://www.m2osw.com</guid>
</item>
<item>
 <title>PlaceObject2</title>
 <link>http://www.m2osw.com/swf_tag_placeobject2</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-swf-tag-info&quot;&gt;&lt;legend&gt;Tag Info&lt;/legend&gt;&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-number&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Number:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    26        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-content-taxonomy field-field-tag-swf-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Type:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Define        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&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-tag-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag 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_placeobject2 {	&lt;font color=&quot;green&quot;&gt;/* and swf_placeobject3 */&lt;/font&gt;
	&lt;a href=&quot;/swf_struct_tag&quot;&gt;swf_tag&lt;/a&gt;			f_tag;		&lt;font color=&quot;green&quot;&gt;/* 26 or 70 */&lt;/font&gt;
	&lt;font color=&quot;green&quot;&gt;/* NOTE: the following flags can be read as one or two bytes also */&lt;/font&gt;
	if(version &amp;gt;= 8) {
		unsigned	f_place_reserved : 5;
		unsigned	f_place_bitmap_caching : 1;
		unsigned	f_place_blend_mode : 1;
		unsigned	f_place_filters : 1;
	}
	if(version &amp;gt;= 5) {
		unsigned	f_place_has_actions : 1;
	}
	else {
		unsigned	f_place_reserved : 1;
	}
	unsigned		f_place_has_clipping_depth : 1;
	unsigned		f_place_has_name : 1;
	unsigned		f_place_has_morph_position : 1;
	unsigned		f_place_has_color_transform : 1;
	unsigned		f_place_has_matrix : 1;
	unsigned		f_place_has_id_ref : 1;
	unsigned		f_place_has_move : 1;
	unsigned short		f_depth;
	if(f_place_has_id_ref) {
		unsigned short		f_object_id_ref;
	}
	if(f_place_has_matrix) {
		&lt;a href=&quot;/swf_struct_matrix&quot;&gt;swf_matrix&lt;/a&gt;		f_matrix;
	}
	if(f_place_has_color_transform) {
		&lt;a href=&quot;/swf_struct_color_transform&quot;&gt;swf_color_transform&lt;/a&gt;	f_color_transform;
	}
	if(f_place_has_morph_position) {
		unsigned short		f_morph_position;
	}
	if(f_place_has_name) {
		string			f_name;&lt;a class=&quot;see-footnote&quot; id=&quot;footnoteref1_qj1a21l&quot; title=&quot;Assuming that this PlaceObject2 references a DefineSprite, this name becomes the name of this instance of the sprite. This feature enables you to place the same DefineSprite multiple times in your display list each time using a different name.&quot; href=&quot;#footnote1_qj1a21l&quot;&gt;1&lt;/a&gt;
	}
	if(f_place_has_clipping_depth) {
		unsigned short		f_clipping_depth;
	}
	&lt;font color=&quot;green&quot;&gt;/* 3 next entries since v8.0 */&lt;/font&gt;
	if(f_place_filters) {
		unsigned char		f_filter_count;
		&lt;a href=&quot;/swf_struct_any_filter&quot;&gt;swf_any_filter&lt;/a&gt;		f_filter;
	}
	if(f_place_blend_mode) {
		unsigned char		f_blend_mode;
	}
	if(f_place_bitmap_caching) {
		&lt;font color=&quot;green&quot;&gt;/* WARNING: this is not defined in the Macromedia documentation&lt;br /&gt;		 * it may be that it was part of the blend mode whenever the person&lt;br /&gt;		 * who defined this byte was testing (I copied that from somewhere else!).&lt;br /&gt;		 */&lt;/font&gt;
		unsigned char		f_bitmap_caching;
	}
	&lt;font color=&quot;green&quot;&gt;/* since v5.0 */&lt;/font&gt;
	if(f_place_has_actions) {
		unsigned short		f_reserved;
		if(version &amp;gt;= 6) {
			unsigned long	f_all_flags;
		}
		else {
			unsigned short	f_all_flags;
		}
		&lt;a href=&quot;/swf_struct_event&quot;&gt;swf_event&lt;/a&gt;		f_event[&lt;i&gt;&amp;lt;variable&amp;gt;&lt;/i&gt;];
		if(version &amp;gt;= 6) {
			unsigned long	f_end;	&lt;font color=&quot;green&quot;&gt;/* always zero */&lt;/font&gt;
		}
		else {
			unsigned short	f_end;	&lt;font color=&quot;green&quot;&gt;/* always zero */&lt;/font&gt;
		}
	}
};&lt;/pre&gt;

&lt;ul class=&quot;footnotes&quot;&gt;&lt;li class=&quot;footnote&quot; id=&quot;footnote1_qj1a21l&quot;&gt;&lt;a class=&quot;footnote-label&quot; href=&quot;#footnoteref1_qj1a21l&quot;&gt;1.&lt;/a&gt; Assuming that this &lt;strong&gt;PlaceObject2&lt;/strong&gt; references a &lt;a href=&quot;/swf_tag_definesprite&quot;&gt;&lt;strong&gt;DefineSprite&lt;/strong&gt;&lt;/a&gt;, this name becomes the name of this instance of the sprite. This feature enables you to place the same &lt;strong&gt;DefineSprite&lt;/strong&gt; multiple times in your display list each time using a different name.&lt;/li&gt;
&lt;/ul&gt;
        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;This tag will be used to specify where and how to place an object   in the next frame. The &lt;a href=&quot;/swf_tag_placeobject&quot; class=&quot;swf_tagname&quot;&gt;&lt;b&gt;PlaceObject&lt;/b&gt;&lt;/a&gt;   is much different and is presented separately.&lt;/p&gt;
&lt;p&gt;The &lt;i&gt;f_depth&lt;/i&gt; field is used to indicate at which depth the character is   inserted in the current frame. There can be only one object per depth value   (thus a maximum of 65536 objects can appear on a single frame).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_tag_placeobject2&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_tag_placeobject2#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/579">Action</category>
 <category domain="http://www.m2osw.com/taxonomy/term/588">DefineButton</category>
 <category domain="http://www.m2osw.com/taxonomy/term/635">DefineButton2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/648">DefineEditText</category>
 <category domain="http://www.m2osw.com/taxonomy/term/644">DefineMorphShape</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/638">DefineSprite</category>
 <category domain="http://www.m2osw.com/taxonomy/term/592">DefineText</category>
 <category domain="http://www.m2osw.com/taxonomy/term/578">Display</category>
 <category domain="http://www.m2osw.com/taxonomy/term/585">PlaceObject</category>
 <category domain="http://www.m2osw.com/taxonomy/term/609">PlaceObject2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/610">RemoveObject2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/624">Sprite</category>
 <category domain="http://www.m2osw.com/taxonomy/term/625">VideoFrame</category>
 <pubDate>Tue, 01 Dec 2009 08:10:31 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">208 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Protect</title>
 <link>http://www.m2osw.com/swf_tag_protect</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-swf-tag-info&quot;&gt;&lt;legend&gt;Tag Info&lt;/legend&gt;&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-number&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Number:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    24        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-content-taxonomy field-field-tag-swf-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Type:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Define        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&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;
                    2        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-tag-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag 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_protect {
	&lt;a href=&quot;/swf_struct_tag&quot;&gt;swf_tag&lt;/a&gt;			f_tag;		/* 24, 58 or 64  */
	if(version &amp;gt;= 5) {
		if(tag == ProtectDebug2) {
			unsigned short	f_reserved;&lt;a class=&quot;see-footnote&quot; id=&quot;footnoteref1_c4462yc&quot; title=&quot;f_reserved must be set to zero.&quot; href=&quot;#footnote1_c4462yc&quot;&gt;1&lt;/a&gt;
		}
		/* the password is optional when tag == Protect */
		string		f_md5_password;
	}
};
&lt;/pre&gt;


&lt;ul class=&quot;footnotes&quot;&gt;&lt;li class=&quot;footnote&quot; id=&quot;footnote1_c4462yc&quot;&gt;&lt;a class=&quot;footnote-label&quot; href=&quot;#footnoteref1_c4462yc&quot;&gt;1.&lt;/a&gt; f_reserved must be set to zero.&lt;/li&gt;
&lt;/ul&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-nodereference field-field-see-also&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;See Also:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_tag_enabledebugger&quot;&gt;EnableDebugger&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_tag_enabledebugger2&quot;&gt;EnableDebugger2&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;The protection tag is totally useless. The SWF format is an open format, otherwise how would you have so many players and tools to work with SWF movies? Thus, you can pretend to protect your movies, but anyone with a simple binary editor can transform the tag and make it another which has no such effect. Also, swf_dump and some other tools (such as &lt;a href=&quot;http://flasm.sourceforge.net/&quot; target=&quot;_blank&quot;&gt;flasm&lt;/a&gt;) can read your movie anyway.&lt;/p&gt;
&lt;p&gt;For the sake of defining what you have in each tag, there are the protection tags fully described.&lt;/p&gt;
&lt;p&gt;According to Macromedia, you can find some free implementation of the MD5 algorithm by Poul-Henning Kamp in ...&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_tag_protect&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_tag_protect#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/857">EnableDebugger</category>
 <category domain="http://www.m2osw.com/taxonomy/term/858">EnableDebugger2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/576">Format</category>
 <category domain="http://www.m2osw.com/taxonomy/term/607">Protect</category>
 <pubDate>Mon, 30 Nov 2009 12:02:38 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">205 at http://www.m2osw.com</guid>
</item>
<item>
 <title>DefineSound</title>
 <link>http://www.m2osw.com/swf_tag_definesound</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-swf-tag-info&quot;&gt;&lt;legend&gt;Tag Info&lt;/legend&gt;&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-number&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Number:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    14        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-content-taxonomy field-field-tag-swf-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Type:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Define        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&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;
                    2        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-tag-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag 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_definesound {
	&lt;a href=&quot;/swf_struct_tag&quot;&gt;swf_tag&lt;/a&gt;			f_tag;		&lt;font color=&quot;green&quot;&gt;/* 14 */&lt;/font&gt;
	unsigned short		f_sound_id;
	unsigned		f_sound_format : 4;
	unsigned		f_sound_rate : 2;
	unsigned		f_sound_is_16bits : 1;
	unsigned		f_sound_is_stereo : 1;
	unsigned long		f_sound_samples_count;
	unsigned char		f_sound_data[&amp;lt;variable size&amp;gt;];
};&lt;/pre&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;A &lt;b&gt;DefineSound&lt;/b&gt; tag declares a set of samples of a sound effect   or a music.&lt;/p&gt;
&lt;p&gt;The sound samples can be compressed or not, stereo or not and 8 or   16 bits. The different modes are not all available in version 2, although the same tag is used in newer versions with additional capabilities.&lt;/p&gt;
&lt;p&gt;The &lt;i&gt;f_sound_is_16bits&lt;/i&gt; is always set to 1 (16bits samples) if the   samples are compressed (neither &lt;code&gt;Raw&lt;/code&gt; nor   &lt;code&gt;Uncompressed&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_tag_definesound&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_tag_definesound#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/596">DefineSound</category>
 <category domain="http://www.m2osw.com/taxonomy/term/576">Format</category>
 <category domain="http://www.m2osw.com/taxonomy/term/601">SoundStreamBlock</category>
 <pubDate>Sun, 29 Nov 2009 23:57:55 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">184 at http://www.m2osw.com</guid>
</item>
<item>
 <title>DefineFont</title>
 <link>http://www.m2osw.com/swf_tag_definefont</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-swf-tag-info&quot;&gt;&lt;legend&gt;Tag Info&lt;/legend&gt;&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-number&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Number:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    10        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-content-taxonomy field-field-tag-swf-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Type:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Define        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&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;
                    1        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-tag-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag 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_definefont {
	&lt;a href=&quot;/swf_struct_tag&quot; class=&quot;swf_anchor&quot;&gt;swf_tag&lt;/a&gt;			f_tag;		&lt;font color=&quot;green&quot;&gt;/* 10 */&lt;/font&gt;
	unsigned short		f_font_id;
	&lt;font color=&quot;green&quot;&gt;/* there is always at least one glyph */&lt;/font&gt;
	f_font_glyphs_count = f_font_offsets[0] / 2;
	unsigned short		f_font_offsets[f_font_glyphs_count];
	&lt;a href=&quot;/swf_struct_shape&quot; class=&quot;swf_anchor&quot;&gt;swf_shape&lt;/a&gt;		f_font_shapes[f_font_glyphs_count];
};&lt;/pre&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;It is common to use the &lt;b&gt;DefineFont&lt;/b&gt; tag in order to create an array of   shapes later re-used to draw strings of text on the screen. Note that the   definition of the shape within a font is limited since it can&#039;t include any   specific fill and/or line style. Also, each shape is assumed to be defined   within a 1024x1024 square. This square is called the &lt;em&gt;EM Square&lt;/em&gt;.   Fig 1. below shows you the &lt;em&gt;EM Square&lt;/em&gt; and how it is used. The   characters baseline can be placed anywhere within the &lt;em&gt;EM Square&lt;/em&gt; (it certainly   can be outside too if you wish?!?).

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_tag_definefont&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_tag_definefont#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/577">Define</category>
 <category domain="http://www.m2osw.com/taxonomy/term/648">DefineEditText</category>
 <category domain="http://www.m2osw.com/taxonomy/term/591">DefineFont</category>
 <category domain="http://www.m2osw.com/taxonomy/term/646">DefineFont2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/595">DefineFontInfo</category>
 <category domain="http://www.m2osw.com/taxonomy/term/683">DefineFontName</category>
 <pubDate>Sun, 29 Nov 2009 10:29:02 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">180 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Notes about Copyrights</title>
 <link>http://www.m2osw.com/sswf_copyrights</link>
 <description>&lt;h3&gt;SSWF&amp;trade; name&lt;/h3&gt;
&lt;p&gt;The name SSWF&amp;trade; is used by Made to Order Software to reference its SWF library. You are welcome to use this name in reference the SSWF library if you use it in your own software.&lt;/p&gt;
&lt;h3&gt;SWF Format&lt;/h3&gt;
&lt;p&gt;Please, note that there is no restriction in using this document.   However, the SWF format copyright holders are Macromedia and Adobe.   There may be limits in what you can do using this format.   If you are not sure, I suggest you contact a knowledgeable copyright   and Software attorney who can help you decide what you can do with the   SWF format.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/sswf_copyrights&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/sswf_copyrights#comments</comments>
 <pubDate>Sun, 29 Nov 2009 01:37:50 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">161 at http://www.m2osw.com</guid>
</item>
<item>
 <title>SSWF Authors</title>
 <link>http://www.m2osw.com/sswf_authors</link>
 <description>&lt;p&gt;This document was written by &lt;a href=&quot;/user/1&quot;&gt;Alexis Wilke&lt;/a&gt;. Different people have helped   in fixing mistakes in the different structures defined here. Their names   appear in the &lt;span class=&quot;insert-node insert-node1 insert-nid263&quot;&gt;&lt;span class=&quot;insert-node-link&quot;&gt;&lt;a href=&quot;/swf_appendix_b_history&quot;&gt;Appendix B — History of the SSWF reference&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;.&lt;/p&gt;

</description>
 <comments>http://www.m2osw.com/sswf_authors#comments</comments>
 <pubDate>Sun, 29 Nov 2009 01:26:51 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">160 at http://www.m2osw.com</guid>
</item>
</channel>
</rss>


