I am trying to figure out how to control the playing of an animation that was created using SWFMill.<br>Right now, its just a series of 3 pictures of an arm in 3 positions so it looks like its waving and there are a total<br>
of 6 pictures (3 for the left arm and 3 for the right arm).<br><br>The actionscript I am using checks to see which arm needs to be waved and does so by<br>calling up the &quot;frame name&quot; tag from the swfml file, such as:<br>
armwave.gotoAndPlay(&quot;wave_left_1&quot;);<br><br>or if the right arm needs to be the one that gets waved:<br>armwave.gotoAndPlay(&quot;wave_right_1&quot;);<br>
<br>I want to be able to detect whether the left arm or the right arm is finished waving before other<br>animations get played.<br><br>Are there any suggestions on how to do that? Should I use child clips or are there ways to check?<br>
I tried using things like _framesloaded or trying to access individual frames from the swfml file but<br>I get things like &quot;undefined&quot; or that there is only 1 frame...<br><br>Thanks for any and all suggestions / help... here is the SWFML:<br>
<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot; ?&gt;<br>&lt;movie width=&quot;500&quot; height=&quot;500&quot; framerate=&quot;12&quot;&gt;<br>&nbsp; &lt;frame&gt;<br>&nbsp;&nbsp;&nbsp; &lt;clip id=&quot;Pic_left_1&quot; import=&quot;pic_left_1.png&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;clip id=&quot;Pic_left_2&quot; import=&quot;pic_left_2.png&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;clip id=&quot;Pic_left_3&quot; import=&quot;pic_left_3.png&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;clip id=&quot;Pic_right_1&quot; import=&quot;pic_right_1.png&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;clip id=&quot;Pic_right_2&quot; import=&quot;pic_right_2.png&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;clip id=&quot;Pic_right_3&quot; import=&quot;pic_right_3.png&quot;/&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;library&gt;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;clip id=&quot;armwave&quot;&gt;<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;frame name=&quot;wave_left_1&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;place id=&quot;Pic_left_1&quot; depth=&quot;1&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/frame&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;frame name=&quot;wave_left_2&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;place id=&quot;Pic_left_2&quot; depth=&quot;1&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/frame&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;frame name=&quot;wave_left_3&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;place id=&quot;Pic_left_3&quot; depth=&quot;1&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;stop /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/frame&gt;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;frame name=&quot;wave_right_1&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;place id=&quot;Pic_right_1&quot; depth=&quot;1&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/frame&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;frame name=&quot;wave_right_2&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;place id=&quot;Pic_right_2&quot; depth=&quot;1&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/frame&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;frame name=&quot;wave_right_3&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;place id=&quot;Pic_right_3&quot; depth=&quot;1&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;stop /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/frame&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/clip&gt;<br>

<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- other clips with other frame and place tags for other animations are here --&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;/library&gt;<br>&nbsp; &lt;/frame&gt;<br>&lt;/movie&gt;<br>