I’m thinking of making a movieclip which stops itself at certain points (just with stop(); at certain keyframes in the movieclip timeline), then the user is prompted to continue the clip.
What is the best why to listen for the stopping of the movieclip? I think I want an event listener that detects when the movieclip is stopped, but I don’t know if there is one.
Many thanks
Because you have to manually stop a MovieClip via
stop()you can easily manually dispatch your own event on the same frame usingdispatchEvent()For example, on a frame you could have:
And the listener for that MovieClip would be: