Copy link to clipboard
Copied
I'm having a problem with what seems to be a really simple thing to do. I'm using Actionscript.
I have a short movie clip that I want to play once, and I'm using it in lots of places. I added a stop() command at the end of the clip to keep it from looping. But when I use the clip, it only plays the first time it's used.
Any idea what I'm doing wrong?
If you are using HTML5 Canvas, the movieclip is stored in memory, even when it's not on the stage. Next time you see it, it will already be on the last frame. So, each time it appears you need to tell it to play.
Copy link to clipboard
Copied
If you want to use some instances of the same MC be sure you add them to stage in different keyframes.
If your movie enter frame (keyframe) MC starts and refresh
Try to add some keyframes/layers to create your movie
You can also add ActionScript to start your MC
Or
Maybe it would be better to add Instance Name for your MC and stop it using ActionScript at time you wish?
pawel
Copy link to clipboard
Copied
If you are using HTML5 Canvas, the movieclip is stored in memory, even when it's not on the stage. Next time you see it, it will already be on the last frame. So, each time it appears you need to tell it to play.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now