<?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 - enumerate</title>
 <link>http://www.m2osw.com/taxonomy/term/699/all</link>
 <description></description>
 <language>en</language>
<item>
 <title>SWF Internal Functions</title>
 <link>http://www.m2osw.com/swf_action_internalfunctions</link>
 <description>&lt;p&gt;Since Flash version 5, you can use &lt;em&gt;internal functions&lt;/em&gt; (really member functions or methods of internal objects.) These functions are always available. These methods are called using the     &lt;a href=&quot;/swf_action_callfunction&quot;&gt;&lt;strong&gt;Call&amp;nbsp;Function&lt;/strong&gt;&lt;/a&gt;     action with the name of the object and function separated by a period. A few of these internal functions are duplicates     of some direct action script instructions. In general, it is preferred to use these internal functions rather than the direct action.

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_action_internalfunctions&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_action_internalfunctions#comments</comments>
 <pubDate>Sat, 26 Dec 2009 10:50:52 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">345 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Enumerate Object</title>
 <link>http://www.m2osw.com/swf_action_enumerateobject</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;
                    Objects        &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;
                    85        &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 (o), push null, push * (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;o&lt;sub&gt;1&lt;/sub&gt; := pop();&lt;br /&gt;
push(null);&lt;br /&gt;
foreach(o&lt;sub&gt;1&lt;/sub&gt; as name)&amp;nbsp;{&lt;br /&gt;
&amp;nbsp; push(name);&lt;br /&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;
                    6        &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_enumerate&quot;&gt;Enumerate&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&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 even&quot;&gt;
                    &lt;a href=&quot;/swf_action_setmember&quot;&gt;Set Member&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Pop an object from the stack, push a null, then push the 			name of each variable and function member of that object on the stack.&lt;/p&gt;
&lt;p&gt;This mechanism can be used to implement a foreach() function on an object. Be careful, though, that the stack be cleared when leaving the loop.&lt;/p&gt;
&lt;p&gt;This action uses an object reference. If you only have the name of the object, use the &lt;a href=&quot;/swf_action_enumerate&quot;&gt;&lt;strong&gt;Enumerate&lt;/strong&gt;&lt;/a&gt; action instead.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_action_enumerateobject&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_action_enumerateobject#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/579">Action</category>
 <category domain="http://www.m2osw.com/taxonomy/term/695">Objects</category>
 <category domain="http://www.m2osw.com/taxonomy/term/624">Sprite</category>
 <pubDate>Sat, 26 Dec 2009 10:17:25 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">344 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Enumerate</title>
 <link>http://www.m2osw.com/swf_action_enumerate</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;
                    Objects        &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;
                    70        &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 (s), push null, push * (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;s&lt;sub&gt;1&lt;/sub&gt;&amp;nbsp;:= pop();&lt;br /&gt;
push(null);&lt;br /&gt;
foreach(s&lt;sub&gt;1&lt;/sub&gt; as name)&amp;nbsp;{&lt;br /&gt;
&amp;nbsp; push(name);&lt;br /&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;
                    5        &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_enumerateobject&quot;&gt;Enumerate Object&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_action_setmember&quot;&gt;Set Member&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&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 even&quot;&gt;
                    &lt;a href=&quot;/swf_action_callmethod&quot;&gt;Call Method&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;Pop the name of an object and push the name of all of its children (methods 			&amp;amp; variables) back on the stack. The list is null terminated.&lt;/p&gt;
&lt;p&gt;This mechanism can be used to implement a foreach() function on an object. Be careful, though, that the stack be 100% cleared when leaving the loop.&lt;/p&gt;
&lt;p&gt;This action uses the name of an object. If you have an object reference, use the &lt;a href=&quot;/swf_action_enumerateobject&quot;&gt;&lt;strong&gt;Enumerate Object&lt;/strong&gt;&lt;/a&gt; action instead.&lt;/p&gt;

</description>
 <comments>http://www.m2osw.com/swf_action_enumerate#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/579">Action</category>
 <category domain="http://www.m2osw.com/taxonomy/term/695">Objects</category>
 <pubDate>Sat, 26 Dec 2009 09:59:10 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">343 at http://www.m2osw.com</guid>
</item>
</channel>
</rss>


