alokwww
Technical User
- Dec 25, 2002
- 86
Hi,
I have a movie in which there are a few buttons.
Heres how its built:
I have all the buttons on one layer.
I have all the text on one layer.
I have the transition on one layer.
Anytime someone clicks a button, I have faderMC, which is the transition movie clip, gotoandplay(2).
In addition to having the button play faderMC, I want it to check on the progress of faderMC, and when faderMC reaches frame 30, I want to have the main movie gotoandstop on frame 70, if that makes sense.
Basically, when someone clicks the following should happen:
1. faderMC plays
2. check to see if faderMC if faderMC has reached frame 30
3. if faderMC has reached frame 30, the main movie goes to frame 70
This is all I have so far:
on (release) {
faderMC.gotoandplay(2)
}
and then I need something along the lines of
if (faderMC.frames.30) {
gotoandstop(70)
}
but it needs to make sense, lol.
Any help would be greatly appreciated!
Thanks!
-Alok Wadhwani
I have a movie in which there are a few buttons.
Heres how its built:
I have all the buttons on one layer.
I have all the text on one layer.
I have the transition on one layer.
Anytime someone clicks a button, I have faderMC, which is the transition movie clip, gotoandplay(2).
In addition to having the button play faderMC, I want it to check on the progress of faderMC, and when faderMC reaches frame 30, I want to have the main movie gotoandstop on frame 70, if that makes sense.
Basically, when someone clicks the following should happen:
1. faderMC plays
2. check to see if faderMC if faderMC has reached frame 30
3. if faderMC has reached frame 30, the main movie goes to frame 70
This is all I have so far:
on (release) {
faderMC.gotoandplay(2)
}
and then I need something along the lines of
if (faderMC.frames.30) {
gotoandstop(70)
}
but it needs to make sense, lol.
Any help would be greatly appreciated!
Thanks!
-Alok Wadhwani