i don't know if there's a simple solution like setting loop to true or false or anything, but it can be done reasonably easily. Just check the total number of frames vs the current frame and stop if they are equal.

So like...
if ( myClip.totalFrames == myClip.currentFrame ) { myClip.stop(); }

i actually haven't used this functionality in particular since AS2, but I don't think anything changed in AS3.

William Adams wrote:
I'm loading a Flash file in a MovieClip and I want it to play once and then stop, but it keeps looping. Endlessly. How can it be set to play once and then stop / not loop?

Thanks!

William

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to