PDA

View Full Version : Path confusion...


Polaris
07-29-2003, 04:55 PM
Hello everyone,

I have a movieclip placed on the main timeline that includes a back button within it.

When the back button is released, I would like it to return to the main timeline (Scene 1, frame 1)

Right now the code for the back button will only allow my to return to frame 1 of the movieclip that it is contained within.

I've tried using _root, level0 and ("scene 1", 1 ) to try to get the back button to jump outside of the movie clip. The code below takes me back to frame 1 of the current movieclip.

on (release) {
gotoAndStop("Scene 1", 1);
}

How would I write this?

Thanks so much in advance,
Polaris

tg
07-29-2003, 05:36 PM
try:

_parent.gotoAndStop(1);


if your new to flash, then spend some time in the tutorial section... its very good, with lots of essential information.

Polaris
07-29-2003, 05:53 PM
This worked perfectly.

I will take a look at the tutorials, still have a lot to learn about using the proper syntax.

Thanks so much.
Polaris