Tech for Glory
Thread Starter
- Joined
- Sep 14, 2000
- Messages
- 150
I am trying to make this button point to a new scene.
Here is how the button is put together:
NavGigs (button) inside links (graphic) --> navLinks (movie clip) --> News (scene)
So down in the library, I opened up links, clicked on NavGigs, and assigned an action to it.
Here is the action:
on (release) {
gotoAndPlay("Gigs", 1);
}
on (rollOver) {
tellTarget ("movingTicket") {
play();
}
}
on (press, rollOut) {
tellTarget ("movingTicket") {
gotoAndPlay(14);
}
}
Now, the thing is, everything works except that first on (release). I'm trying to get it to go to scene "Gigs" and play frame 1, but it doesn't move at all.
To double check things, I dragged a new instance of the button onto the stage (not inside navLinks --> links) and assigned the appropriate action, and it worked perfect. So I'm guessing this has to do with the fact that this button has been nested far into the movie. How can I ActionScript my way out of this?
Here is how the button is put together:
NavGigs (button) inside links (graphic) --> navLinks (movie clip) --> News (scene)
So down in the library, I opened up links, clicked on NavGigs, and assigned an action to it.
Here is the action:
on (release) {
gotoAndPlay("Gigs", 1);
}
on (rollOver) {
tellTarget ("movingTicket") {
play();
}
}
on (press, rollOut) {
tellTarget ("movingTicket") {
gotoAndPlay(14);
}
}
Now, the thing is, everything works except that first on (release). I'm trying to get it to go to scene "Gigs" and play frame 1, but it doesn't move at all.
To double check things, I dragged a new instance of the button onto the stage (not inside navLinks --> links) and assigned the appropriate action, and it worked perfect. So I'm guessing this has to do with the fact that this button has been nested far into the movie. How can I ActionScript my way out of this?