View Full Version : navigating to next scene
rajarajan
04-05-2001, 09:38 AM
Hi
I have a button in SCENE-1
on release of this button i need to go to the next scene.
can anyone help me on this
luv
rajarajan
Hi..
To go to the next scene:
on (release) {
gotoAndPlay ("Scene 2", 1);
}
If your targeting any scene from within an MC then first target _root, followed by a frame label:
on (release) {
_root.goToAndPlay("myFrameLabel");
}
Hope this helps.
rajarajan
04-05-2001, 10:37 AM
Hi Marx,
Thanks for the reply.
But nothing happens. Its still numb.
Let me be clear.
I have a BUTTON on stage in SCENE-1
On release of this button
I need to goto SCENE-2.
thanx again
rajarajan
Hi rajarajan..
It sounds like theres something amiss somewhere. The codes I provided earlier will do exactly what you want.
Check to make sure your scripting is right.
Why not do a test, just 'copy & paste' the above code directly into the buttons action panel, then control/test movie.
Hope this helps.
Jesse
04-06-2001, 03:35 AM
rajarajan perhaps post the exact names of your scenes. Spaces or hiphens can make a difference...
You can view these in flash by clicking the Edit Scene button (square button with a pic of what look slike a box with the lid open, top right hand side of the Flash editting area). Clicking this button will show the scenes you have and their names.
Cheers
Jesse
mawilliams47
04-30-2008, 09:34 AM
Just like Marx code.
if you do this
InstanceName.onRelease = function (){
gotoAndStop("Scene 2", 1);
InstanceName refers to the instance name you have give your button..
Hope this helps.
atomic
04-30-2008, 12:02 PM
I mean a 7 years old thread?
Sure he was still waiting for an answer?
I mean a 7 years old thread?
Sure he was still waiting for an answer?
Wow! I haven't touched Flash for nigh on 7 years and I am still being quoted. Fame, fame, fame at last!
Regards
atomic
04-30-2008, 12:43 PM
You haven't posted either since then? How did you happen to see this post?
Got an e-mail notification?
You haven't posted either since then? How did you happen to see this post?
Got an e-mail notification?
Yes - got an email notification and luckily I remembered my password.
Funny thing is - to this day - I still get emails off of people about a tutorial I posted on the sight all those years ago; even funnier thing is I have no idea how to answer them as I have forgotten how to use Flash.
Rgds
|
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.