I'm using Action Script 2.0 and I had this question about movie clips..
I want to make an opening of a SWF with butterflies flying around. A user will be able to click any of the butterflies and ALL of them will 'fly away' off screen.
So far this is what I have..
A movie clip with a 'flapping' butterfly.
A movie clip with the flapping butterfly with a gotoAndPlay (2) AS. Frame 2 has a motion tween of a butterfly 'flying away'
The last movie clip is of the 'fly away' butterfly following a motion path.
Once the flight path MC is on a scene, it all works fine, except, once clicked, the butterfly 'flies away' and continues on the flight path again. I don't want this to happen, want it to simply stop at that point. Even with a stop (); at the end of the 'fly away' MC, it doesn't. I know I'm missing something with nested files.
Also, I'm pretty much clueless on how to command other movie clips by clicking one movie clip (as in you click on one butterfly and they ALL 'fly away')
Still not working.. I will click on the butterfly, it flies off of the path (as if flying away) and then starts the motion path all over again. The second time its on the path, the butterfly is no longer clickable. I think the problem is that I have the 'fly away' MC inside the motion path MC. So, if the parent MC is doing its job, it should loop through everything, which it does. Question is.. how do I stop the parent MC from looping after the child MC has been activated? I'm new to Creative Cow and I'm not sure how, but I'd like to upload my FLA file so someone can take a look at it?
Ah, i think I can see what you're doing, I'll happily take a look if you want to email me your fla to graham_quince at hotmail.com and I'll see if I can work it out.
What I think is happening is your movieclip is going to its stop frame then holding on that last frame which contains a separate movieclip of your butterfly flying off. Trouble is your 'fly away' MC may not have its own stop action, so it just keeps looping and depending where your button code is, this 'fly away' MC may not have a command on it.
http://www.YouTube.com/ShiveringCactus - Free FX for amateur films