<?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 - structure</title>
 <link>http://www.m2osw.com/taxonomy/term/580/all</link>
 <description></description>
 <language>en</language>
<item>
 <title>jsMath Installation</title>
 <link>http://www.m2osw.com/doc_jsmath_installation</link>
 <description>&lt;h2 id=&quot;Requirements&quot;&gt;Requirements&lt;/h2&gt;
&lt;p&gt;In order to use the jsMath for displaying mathematics with TeX Drupal 6.x module you need:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;The actual &lt;a title=&quot;Click to go to the project page. The latest version of the module is available for download on that page.&quot; target=&quot;_blank&quot; href=&quot;http://drupal.org/project/jsmath&quot;&gt;jsmath Drupal module&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;The &lt;a title=&quot;Click to visit the jsMath home page.&quot; target=&quot;_blank&quot; href=&quot;http://www.math.union.edu/~dpvc/jsMath/welcome.html&quot;&gt;jsMath library&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/doc_jsmath_installation&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/doc_jsmath_installation#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/581">End</category>
 <pubDate>Sat, 17 Jul 2010 23:17:50 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">560 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Push Data</title>
 <link>http://www.m2osw.com/swf_action_pushdata</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;
                    Stack        &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;
                    150        &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;pre&gt;
struct {
	unsigned char   f_type
	&lt;em&gt;&amp;lt;type&amp;gt;&lt;/em&gt;          f_data
} f_push_data[&lt;em&gt;&amp;lt;variable&amp;gt;&lt;/em&gt;];&lt;/pre&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;
                    -1 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;
                    push &amp;lt;variable&amp;gt; (a)        &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;a&lt;sub&gt;1&lt;/sub&gt; = f_data[0];&lt;a class=&quot;see-footnote&quot; id=&quot;footnoteref1_hmfxrjx&quot; title=&quot;Notice that the first data in the action is the last accessible on your stack.&quot; href=&quot;#footnote1_hmfxrjx&quot;&gt;1&lt;/a&gt;&lt;br /&gt;
push(a&lt;sub&gt;1&lt;/sub&gt;);&lt;br /&gt;
a&lt;sub&gt;2&lt;/sub&gt; = f_data[1];&lt;br /&gt;
push(a&lt;sub&gt;2&lt;/sub&gt;);&lt;br /&gt;
a&lt;sub&gt;3&lt;/sub&gt; = f_data[2];&lt;br /&gt;
push(a&lt;sub&gt;3&lt;/sub&gt;);&lt;br /&gt;
...&lt;br /&gt;
a&lt;sub&gt;n&lt;/sub&gt; = f_data[n];&lt;br /&gt;
push(a&lt;sub&gt;n&lt;/sub&gt;);&lt;/div&gt;

&lt;ul class=&quot;footnotes&quot;&gt;&lt;li class=&quot;footnote&quot; id=&quot;footnote1_hmfxrjx&quot;&gt;&lt;a class=&quot;footnote-label&quot; href=&quot;#footnoteref1_hmfxrjx&quot;&gt;1.&lt;/a&gt; Notice that the first data in the action is the last accessible on your stack.&lt;/li&gt;
&lt;/ul&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;
                    4        &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_duplicate&quot;&gt;Duplicate&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_pop&quot;&gt;Pop&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_swap&quot;&gt;Swap&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Push some immediate data on the stack. 	This action was introduced in V4.0. The supported data types 	vary depending on the version of the player you have. As many 	values as necessary can be pushed at once. The &lt;i&gt;f_push_data&lt;/i&gt; 	structure will be repeated multiple times as required. For 	instance, to push two strings on the stack at once, you would 	use the following code:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_action_pushdata&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_action_pushdata#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/579">Action</category>
 <category domain="http://www.m2osw.com/taxonomy/term/686">Stack</category>
 <pubDate>Sun, 03 Jan 2010 04:45:16 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">382 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Get Property</title>
 <link>http://www.m2osw.com/swf_action_getproperty</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;
                    Properties        &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;
                    34        &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 (n), pop 1 (s), push 1 (a)        &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;n&lt;sub&gt;1&lt;/sub&gt; := pop();&lt;br /&gt;
s&lt;sub&gt;2&lt;/sub&gt; := pop();&lt;br /&gt;
r := s&lt;sub&gt;2&lt;/sub&gt;[n&lt;sub&gt;1]&lt;/sub&gt;;&lt;br /&gt;
push(r);&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;
                    4        &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_callmethod&quot;&gt;Call Method&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_getmember&quot;&gt;Get Member&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_setproperty&quot;&gt;Set Property&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Query the property &lt;em&gt;n&lt;/em&gt;&lt;sub&gt;&lt;em&gt;1&lt;/em&gt;&lt;/sub&gt; of the object named &lt;em&gt;s&lt;/em&gt;&lt;sub&gt;&lt;em&gt;2&lt;/em&gt;&lt;/sub&gt; (a field in a structure 	if you wish), and push the result on the stack. Note that since version 5, it is preferable to use &lt;a href=&quot;/swf_action_getmember&quot;&gt;Get&amp;nbsp;Member&lt;/a&gt; or &lt;a href=&quot;/swf_action_callmethod&quot;&gt;Call Method&lt;/a&gt; when a corresponding variable or function member is available on the object.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;insert-node insert-node1 insert-nid352&quot;&gt;&lt;p&gt;The following is the list of currently accepted properties or fields for the &lt;a href=&quot;/swf_action_getproperty&quot;&gt;&lt;strong&gt;Get Property&lt;/strong&gt;&lt;/a&gt; and the &lt;a href=&quot;/swf_action_setproperty&quot;&gt;&lt;strong&gt;Set Property&lt;/strong&gt;&lt;/a&gt; actions. Note that the properties can be specified with either an integer (type 7,     requires V5.0+) or a single precision floating point (type 1, V4.0 compatible). And since strings are automatically transformed in a value when required, one can use a string to represent the property number (type 0). It works with a double value, I even tested a Boolean and null and it works. Obviously it isn&#039;t a good idea to use these. The default should be a single precision float. Please, see the &lt;a href=&quot;/swf_action_pushdata&quot;&gt;&lt;strong&gt;Push Data&lt;/strong&gt;&lt;/a&gt; action for more information about data types.&lt;/p&gt;
&lt;table cellspacing=&quot;5&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td valign=&quot;top&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;WARNING:&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;Adobe is trying to phase out this functionality. It is very likely not working in ABC&amp;nbsp;code and it is not necessary since objects have member functions that can be used for the exact same purpose and it is a lot cleaner to use those instead.&lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; bgcolor=&quot;black&quot;&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;
            &lt;table cellspacing=&quot;2&quot; cellpadding=&quot;6&quot; border=&quot;0&quot;&gt;
                &lt;tbody&gt;
                    &lt;tr bgcolor=&quot;#cccccc&quot;&gt;
                        &lt;th align=&quot;center&quot;&gt;Float&lt;/th&gt;
                        &lt;th align=&quot;center&quot;&gt;Decimal&lt;/th&gt;
                        &lt;th align=&quot;center&quot;&gt;Name&lt;/th&gt;
                        &lt;th align=&quot;center&quot;&gt;Comments&lt;/th&gt;
                        &lt;th align=&quot;center&quot;&gt;Version&lt;/th&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x00000000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;0&lt;/td&gt;
                        &lt;td&gt;x&lt;/td&gt;
                        &lt;td&gt;x position in pixels (not TWIPs!)&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x3F800000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;1&lt;/td&gt;
                        &lt;td&gt;y&lt;/td&gt;
                        &lt;td&gt;y position in pixels (not TWIPs!)&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x40000000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;2&lt;/td&gt;
                        &lt;td&gt;x scale&lt;/td&gt;
                        &lt;td&gt;horizontal scaling factor in percent (50 &amp;mdash; NOT 0.5 &amp;mdash; represents half the normal size!!!)&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x40400000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;3&lt;/td&gt;
                        &lt;td&gt;y scale&lt;/td&gt;
                        &lt;td&gt;vertical scaling factor in percent (50 &amp;mdash; NOT 0.5 &amp;mdash; represents half the normal size!!!)&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x40800000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                        &lt;td&gt;current frame&lt;/td&gt;
                        &lt;td&gt;the very frame being played; one can query the root current frame using an empty string (&amp;quot;&amp;quot;) as the name of the object; note that the first current frame is number 1 and the last is equal to the total number of frames; on the other hand, the &lt;a href=&quot;/swf_action_gotoexpression&quot;&gt;&lt;strong&gt;Goto&lt;/strong&gt;&lt;/a&gt; instruction expects a frame number from 0 to the number of frames - 1&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x40A00000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;5&lt;/td&gt;
                        &lt;td&gt;number of frames&lt;/td&gt;
                        &lt;td&gt;total number of frames in movie/sprite/thread&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x40C00000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;6&lt;/td&gt;
                        &lt;td&gt;alpha&lt;/td&gt;
                        &lt;td&gt;alpha value in percent (50 &amp;mdash; NOT 0.5 &amp;mdash; means half transparent)&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x40E00000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;7&lt;/td&gt;
                        &lt;td&gt;visibility&lt;/td&gt;
                        &lt;td&gt;whether the object is visible&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x41000000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;8&lt;/td&gt;
                        &lt;td&gt;width&lt;/td&gt;
                        &lt;td&gt;maximum width of the object (scales the object to that width)&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x41100000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;9&lt;/td&gt;
                        &lt;td&gt;height&lt;/td&gt;
                        &lt;td&gt;maximum height of the object (scales the object to that height)&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x41200000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;10&lt;/td&gt;
                        &lt;td&gt;rotation&lt;/td&gt;
                        &lt;td&gt;rotation angle in degrees&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x41300000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;11&lt;/td&gt;
                        &lt;td&gt;target&lt;/td&gt;
                        &lt;td&gt;return the name (full path) of an object; this can be viewed as a reference to that object&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x41400000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;12&lt;/td&gt;
                        &lt;td&gt;frames loaded&lt;/td&gt;
                        &lt;td&gt;number of frames already loaded&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x41500000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;13&lt;/td&gt;
                        &lt;td&gt;name&lt;/td&gt;
                        &lt;td&gt;name of the object&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x41600000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;14&lt;/td&gt;
                        &lt;td&gt;drop target&lt;/td&gt;
                        &lt;td&gt;object over which this object was last dropped&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x41700000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;15&lt;/td&gt;
                        &lt;td&gt;url&lt;/td&gt;
                        &lt;td&gt;URL linked to that object&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x41800000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;16&lt;/td&gt;
                        &lt;td&gt;high quality&lt;/td&gt;
                        &lt;td&gt;whether we are in high quality mode&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x41880000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;17&lt;/td&gt;
                        &lt;td&gt;show focus rectangle&lt;/td&gt;
                        &lt;td&gt;whether the focus rectangle is visible&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x41900000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;18&lt;/td&gt;
                        &lt;td&gt;sound buffer time&lt;/td&gt;
                        &lt;td&gt;position (or pointer) in the sound buffer; useful to synchronize the graphics to the music&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x41980000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;19&lt;/td&gt;
                        &lt;td&gt;quality&lt;/td&gt;
                        &lt;td&gt;what the quality is (0 - Low, 1 - Medium or 2 - High)&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;5&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x41A00000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;20&lt;/td&gt;
                        &lt;td&gt;x mouse&lt;/td&gt;
                        &lt;td&gt;current horizontal position of the mouse pointer within the Flash window&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;5&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x41A80000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;21&lt;/td&gt;
                        &lt;td&gt;y mouse&lt;/td&gt;
                        &lt;td&gt;current vertical position of the mouse pointer within the Flash window&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;5&lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;tr bgcolor=&quot;white&quot;&gt;
                        &lt;td&gt;&lt;code&gt;0x46800000&lt;/code&gt;&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;16384&lt;/td&gt;
                        &lt;td&gt;clone&lt;/td&gt;
                        &lt;td&gt;this flag has to do with the depth of sprites being duplicated&lt;/td&gt;
                        &lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
                    &lt;/tr&gt;
                &lt;/tbody&gt;
            &lt;/table&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;

&lt;/div&gt;&lt;/p&gt;

</description>
 <comments>http://www.m2osw.com/swf_action_getproperty#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/579">Action</category>
 <category domain="http://www.m2osw.com/taxonomy/term/694">Properties</category>
 <pubDate>Wed, 30 Dec 2009 02:25:06 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">351 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Declare Function (V7)</title>
 <link>http://www.m2osw.com/swf_action_declarefunction2</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;
                    Control        &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;
                    (256 variables)        &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;
                    142        &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;table cellspacing=&quot;0&quot; cellpadding=&quot;2&quot; border=&quot;0&quot;&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;string&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_name;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;unsigned short&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_arg_count;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;unsigned char&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_reg_count;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;unsigned short&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_declare_function2_reserved : 7;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;unsigned short&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_preload_global : 1;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;unsigned short&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_preload_parent : 1;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;unsigned short&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_preload_root : 1;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;unsigned short&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_suppress_super : 1;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;unsigned short&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_preload_super : 1;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;unsigned short&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_suppress_arguments : 1;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;unsigned short&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_preload_arguments : 1;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;unsigned short&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_suppress_this : 1;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;unsigned short&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_preload_this : 1;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;a href=&quot;/swf_struct_params&quot;&gt;&lt;strong&gt;swf_params&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_params[f_arg_count];&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;unsigned short&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;f_function_length;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;font color=&quot;red&quot;&gt;WARNING: the preload/suppress flags are defined 	on a short and thus the bytes in a Flash file will look swapped.&lt;/font&gt;&lt;/p&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;
                    -1 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;
                    n.a.        &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;create a function on the current target&lt;em&gt;&lt;br /&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-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;
                    7        &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_callfunction&quot;&gt;Call Function&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_callmethod&quot;&gt;Call Method&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_declarefunction&quot;&gt;Declare Function&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_pushdata&quot;&gt;Push Data&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_action_return&quot;&gt;Return&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_storeregister&quot;&gt;Store Register&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Declare a function which can later be called with the 	&lt;a href=&quot;/swf_action_callfunction&quot;&gt;&lt;strong&gt;Call&amp;nbsp;Function&lt;/strong&gt;&lt;/a&gt; action or 	&lt;a href=&quot;/swf_action_callmethod&quot;&gt;&lt;strong&gt;Call&amp;nbsp;Method&lt;/strong&gt;&lt;/a&gt; action (when defined as a function member.) The &lt;i&gt;f_function_length&lt;/i&gt;&lt;a class=&quot;see-footnote&quot; id=&quot;footnoteref1_gl017d2&quot; title=&quot;A function is limited to 65535 bytes.&quot; href=&quot;#footnote1_gl017d2&quot;&gt;1&lt;/a&gt; defines the number of bytes that the function 	declaration uses after the header (i.e. the size of the actions defined in the function.) All the actions included in this block are part of the function body.&lt;/p&gt;

&lt;ul class=&quot;footnotes&quot;&gt;&lt;li class=&quot;footnote&quot; id=&quot;footnote1_gl017d2&quot;&gt;&lt;a class=&quot;footnote-label&quot; href=&quot;#footnoteref1_gl017d2&quot;&gt;1.&lt;/a&gt; A function is limited to 65535 bytes.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_action_declarefunction2&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_action_declarefunction2#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/579">Action</category>
 <category domain="http://www.m2osw.com/taxonomy/term/685">Control</category>
 <category domain="http://www.m2osw.com/taxonomy/term/581">End</category>
 <pubDate>Sat, 26 Dec 2009 08:08:05 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">334 at http://www.m2osw.com</guid>
</item>
<item>
 <title>DefineFont2</title>
 <link>http://www.m2osw.com/swf_tag_definefont2</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;
                    48        &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_definefont2 {
	&lt;a href=&quot;/swf_struct_tag&quot;&gt;swf_tag&lt;/a&gt;			f_tag;		&lt;font color=&quot;green&quot;&gt;/* 48 or 75 */&lt;/font&gt;
	unsigned short		f_font2_id;
	unsigned		f_font2_has_layout : 1;
	if(version &amp;gt;= 6) {
		unsigned	f_font2_reserved : 1;
		if(version &amp;gt;= 7) {
			unsigned	f_font2_small_text : 1;
		}
		unsigned	f_font2_reserved : 1;
	}
	else {
		unsigned	f_font2_shiftjis : 1;
		unsigned	f_font2_unicode : 1;
		unsigned	f_font2_ansii : 1;
	}
	unsigned		f_font2_wide_offsets : 1;
	unsigned		f_font2_wide : 1;	&lt;font color=&quot;green&quot;&gt;/* always 1 in v6.x+ */&lt;/font&gt;
	unsigned		f_font2_italic : 1;
	unsigned		f_font2_bold : 1;
	if(version &amp;gt;= 6) {
		unsigned char	f_font2_language;
	}
	else {
		unsigned char	f_font2_reserved;
	}
	unsigned char		f_font2_name_length;
	unsigned char		f_font2_name[f_font2_name_length];
	unsigned short		f_font2_glyphs_count;
	if(f_font2_wide_offsets) {
		unsigned long		f_font2_offsets[f_font2_glyphs_count];
		unsigned long		f_font2_map_offset;
	}
	else {
		unsigned short		f_font2_offsets[f_font2_glyphs_count];
		unsigned short		f_font2_map_offset;
	}
	&lt;a href=&quot;/swf_struct_shape&quot;&gt;swf_shape&lt;/a&gt;		f_font2_shapes[f_font2_glyphs_count];
	if(f_font_info_wide) {
		unsigned short		f_font2_map[f_font2_glyphs_count];
	}
	else {
		unsigned char		f_font2_map[f_font2_glyphs_count];
	}
	if(f_font2_has_layout) {
		signed short		f_font2_ascent;
		signed short		f_font2_descent;
		signed short		f_font2_leading_height;
		signed short		f_font2_advance[f_font2_glyphs_count];
		&lt;a href=&quot;/swf_struct_rect&quot;&gt;swf_rect&lt;/a&gt;		f_font2_bounds[f_font2_glyphs_count];
		signed short		f_font2_kerning_count;
		&lt;a href=&quot;/swf_struct_kerning&quot;&gt;swf_kerning&lt;/a&gt;		f_font2_kerning[f_font2_kerning_count];
	}
};
&lt;font color=&quot;green&quot;&gt;/* DefineFont3 is the same as DefineFont2 */&lt;/font&gt;
typedef struct swf_definefont2 swf_definefont3;&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;a href=&quot;/swf_tag_definefont2&quot;&gt;&lt;strong&gt;&lt;b class=&quot;swf_tagname&quot;&gt;DefineFont2&lt;/b&gt;&lt;/strong&gt;&lt;/a&gt; tag in order to create an array of   shapes later re-used to draw strings of text on the screen. This tag &lt;b&gt;must&lt;/b&gt;   be used whenever a &lt;a class=&quot;swf_tagname&quot; href=&quot;/swf_tag_defineedittext&quot;&gt;&lt;strong&gt;DefineEditText&lt;/strong&gt;&lt;/a&gt;   references a font; and in that case it is suggested you include a full description   of the font with layouts.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_tag_definefont2&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_tag_definefont2#comments</comments>
 <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>
 <pubDate>Wed, 16 Dec 2009 09:30:54 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">279 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>SWF Button (swf_button)</title>
 <link>http://www.m2osw.com/swf_struct_button</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;
                    1        &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_button {
	char align;
	unsigned		f_button_reserved : 2;
	if(version &amp;gt;= 8) {
		unsigned		f_button_blend_mode : 1;
		unsigned		f_button_filter_list : 1;
	}
	else {
		unsigned		f_button_reserved : 2;
	}
	unsigned		f_button_state_hit_test : 1;
	unsigned		f_button_state_down : 1;
	unsigned		f_button_state_over : 1;
	unsigned		f_button_state_up : 1;
	if(any f_button_state_... != 0) {
		unsigned short		f_button_id_ref;
		unsigned short		f_button_layer;
		&lt;a href=&quot;/swf_struct_matrix&quot;&gt;swf_matrix&lt;/a&gt;		f_matrix;
		if(f_tag == DefineButton2) {
			&lt;a href=&quot;/swf_struct_color_transform&quot;&gt;swf_color_transform&lt;/a&gt;		f_color_transform;
		}
		if(f_button_filter_list) {
			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_button_blend_mode) {
			unsigned char		f_blend_mode;
		}
	}
};&lt;/pre&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;A button structure defines a state and a corresponding shape reference.   The shape will be affected by the specified matrix whenever used.&lt;/p&gt;
&lt;p&gt;There are many acceptable combinations. The object which is referenced   is drawn when its state matches the current state of the button. If only the   &lt;i&gt;f_button_state_hit_test&lt;/i&gt; is set, then the shape is always displayed.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_struct_button&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_struct_button#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/577">Define</category>
 <category domain="http://www.m2osw.com/taxonomy/term/581">End</category>
 <category domain="http://www.m2osw.com/taxonomy/term/624">Sprite</category>
 <pubDate>Sun, 13 Dec 2009 05:36:06 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">245 at http://www.m2osw.com</guid>
</item>
<item>
 <title>SWF Action 3 (swf_action3)</title>
 <link>http://www.m2osw.com/swf_struct_action3</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;
                    9        &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;p&gt;Not documented here yet.&lt;/p&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Since Flash version 9, actions can be saved in a new format named abcFormat by the Tamarin project from the &lt;a href=&quot;http://www.mozilla.org/en-US/&quot; target=&quot;_blank&quot;&gt;Mozilla&lt;/a&gt; organization.&lt;/p&gt;
&lt;p&gt;The code itself (action script) is the same, but the structure of an swf_action3 holds object oriented information about classes, methods and such in a really clean way (really! in comparison to the old way,   that&#039;s dead clean!).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_struct_action3&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_struct_action3#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/579">Action</category>
 <category domain="http://www.m2osw.com/taxonomy/term/576">Format</category>
 <pubDate>Sun, 13 Dec 2009 05:21:28 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">244 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 (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>
</channel>
</rss>


