I'm stumped on this one, but it seems like something simple I'm overlooking.
My Flex app embeds (i.e., compiles in) another SWF's MovieClip, like so:
[Embed(source='assets/clips.swf', symbol='MyClip')]
private var MyClip:Class;
... and then uses an mx:Image
tag to display it:
<mx:Image source="{MyClip}" width="300" height="100" />
... but the resulting clip loops forever. I want it to play only once and then stop.
The source clip has a stop()
action defined in its final frame, but I suspect that script is being stripped out at compile time, so I'm wondering how I can tell the Image tag, or MyClip class somehow, that the clip should not loop continuously.
Thanks in advance!