ultra simple flash Q
- Started
- Last post
- 7 Responses
- BaskerviIle
I'm doing a simple animation in flash of a bird flying.
I have made a movie clip of the bird flapping its wings. Then I've scaled and moved the movie clip on the main timeline to make it look like it is flying.I've put an action on the last frame of the main timeline to stop it, but once the movie reaches the final frame the bird continues to flap its wings (beacause the movie clip is still looping).
How can I make the movie clip stop playing when the main timeline stops. It seems like I should be able to tell it: if frame x is reached on the main timeline, stop playing movie clip.
sorry if I explained this badly, I'm not enjoying flash!
- skt0
call the flappingMovie something, then on the last frame put this:
flappingMovie.stop();
- BaskerviIle0
last frame of the main timeline? That doesn't seem to work
- d_rek0
Put a stop in the last frame of the flyingbird movieclip instead, that should do it. The stop on the main timeline is only relevant to animations that are a part of the main timeline. Think of your movieclip as a separately contained, parallel timeline.
- BaskerviIle0
if I put a stop on the last frame of my movieclip it will only play once and I need to loop a few times before the end of the main timeline
- skt0
did you name the movieclip on all keyframes? you need to.
that might be why what i advised isn't working.
- skt0
emailed back.