Johnny Blane
May 29th, 2003, 06:47 PM
I know the answer to this is probably staring right in my face, but I'm having a heckuva time getting this to work correctly in MX.
Let's say you have a button instance named MyButton. When pressed, you'd like two things to happen one-after-another: a movieclip somewhere else on the page to play out to completion and then stop, followed immediately by the playing of a separate second clip.
What's messing me up is that I have five buttons total that all need to do this, each playing a different second clip. On top of that, they all need to be able to play the same first clip, but only when it hasn't already been played (meaning the first clip is only played ONCE -- when the user first presses any one of the five buttons).
Basically I'm trying to pin down the syntax to doing this:
When pressed, check to see if movie clip 1 has played out. If so, play movie clip 2. If not, play clip 1 to completion, then play clip 2.
Jeez, I am SO confused. Help!
Let's say you have a button instance named MyButton. When pressed, you'd like two things to happen one-after-another: a movieclip somewhere else on the page to play out to completion and then stop, followed immediately by the playing of a separate second clip.
What's messing me up is that I have five buttons total that all need to do this, each playing a different second clip. On top of that, they all need to be able to play the same first clip, but only when it hasn't already been played (meaning the first clip is only played ONCE -- when the user first presses any one of the five buttons).
Basically I'm trying to pin down the syntax to doing this:
When pressed, check to see if movie clip 1 has played out. If so, play movie clip 2. If not, play clip 1 to completion, then play clip 2.
Jeez, I am SO confused. Help!