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 "frame name" tag from the swfml file, such as:<br>
armwave.gotoAndPlay("wave_left_1");<br><br>or if the right arm needs to be the one that gets waved:<br>armwave.gotoAndPlay("wave_right_1");<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 "undefined" or that there is only 1 frame...<br><br>Thanks for any and all suggestions / help... here is the SWFML:<br>
<br><?xml version="1.0" encoding="iso-8859-1" ?><br><movie width="500" height="500" framerate="12"><br> <frame><br> <clip id="Pic_left_1" import="pic_left_1.png"/><br>
<clip id="Pic_left_2" import="pic_left_2.png"/><br> <clip id="Pic_left_3" import="pic_left_3.png"/><br> <clip id="Pic_right_1" import="pic_right_1.png"/><br>
<clip id="Pic_right_2" import="pic_right_2.png"/><br> <clip id="Pic_right_3" import="pic_right_3.png"/><br><br> <library> <br> <clip id="armwave"><br>
<br> <frame name="wave_left_1"><br> <place id="Pic_left_1" depth="1"/><br> </frame><br> <frame name="wave_left_2"><br> <place id="Pic_left_2" depth="1"/><br>
</frame><br> <frame name="wave_left_3"><br> <place id="Pic_left_3" depth="1"/><br> <stop /><br> </frame><br><br> <frame name="wave_right_1"><br>
<place id="Pic_right_1" depth="1"/><br> </frame><br> <frame name="wave_right_2"><br> <place id="Pic_right_2" depth="1"/><br>
</frame><br> <frame name="wave_right_3"><br> <place id="Pic_right_3" depth="1"/><br> <stop /><br> </frame><br> </clip><br>
<br> <!-- other clips with other frame and place tags for other animations are here --><br><br> </library><br> </frame><br></movie><br>