[F5] Easiest ActionScript ever!

ok, i know that im retarded, but here’s the deal:

Button location:
Scene1 : Symbol27 : Symbol 38 <—[thats the button we’re talking about]

What i need to do:
Play Scene1, frame 5

What doesn’t work:
on (release) {
gotoAndPlay (“Scene 1”, 5);
}

What do i do?

That you button is in the same scene all you need do is assign this AS to the button.

on (release) {
gotoAndPlay(5);
}

Hope this helps

i tried that [again], and it just replays the movie clip that the button is in.

Have you created an actions layer with stop() actions on it? One for the frame your button is on and another for frame 5 where you want the movie to stop once the button has taken you there.

lets see…

Scene1, frame 1:
stop()

Scene1 :: Frame 1 :: Symbol 27 :: Symbol 38 <–[the button]

Symbol 27,frame 15: <–[Symbol 38 exists in this frame]
stop()

doesn’t work

Symbol 38 [this symbol’s location is scene 1, frame 1, symbol 27]
on (release) {
gotoAndPlay (“Scene 1”, 5);
}
also doesn’t work
on (release) {
gotoAndPlay (5);
}

this is probobly more confusing, if you would like i cant try to explain it differently, but that would take a while…

I can post the swf that doesnt work, but i dont think that would help.

_root.gotoAndPlay(5)