DEATH eVADER
Space Core
- Joined
- Nov 10, 2003
- Messages
- 8,142
- Reaction score
- 19
I'm sure some of you budding flash users may know how you do this.
Basically I have two scenes, each one named "Scene 1" and "Scene 2".
I have a button in each of the scenes to go back a forth between them, however I do not know the actionScript 1.0 or actionScript 2.0 code to perform the switch (but to specifically go to frame 1 or either scene).
I thought it might of been the code below (applied directly to the button)
on release();
{
this.gotoAndStop("Scene 2"(1));
}
However it doesn't seem to work. Any ways around this?
Basically I have two scenes, each one named "Scene 1" and "Scene 2".
I have a button in each of the scenes to go back a forth between them, however I do not know the actionScript 1.0 or actionScript 2.0 code to perform the switch (but to specifically go to frame 1 or either scene).
I thought it might of been the code below (applied directly to the button)
on release();
{
this.gotoAndStop("Scene 2"(1));
}
However it doesn't seem to work. Any ways around this?