View Full Version : [F5] Easiest ActionScript ever!
morse
November 6th, 2002, 12:00 AM
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?
Marc
November 6th, 2002, 12:08 AM
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
morse
November 6th, 2002, 12:33 AM
i tried that [again], and it just replays the movie clip that the button is in.
Marc
November 6th, 2002, 12:41 AM
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.
morse
November 6th, 2002, 04:20 PM
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.
sbeener
November 6th, 2002, 04:25 PM
_root.gotoAndPlay(5)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.