Skip to main content
Participant
September 29, 2016
Answered

Scene navigation !

  • September 29, 2016
  • 1 reply
  • 328 views

Hi,

I created a flash file contained 2 scenes, "Wheel_Slide_In" and "Wheel_Rotate". mu goal is to play scene "Wheel_Rotate" after "Wheel_Slide_In" finish playing.

I put this code in the last frame of "Wheel_Slide_In" :

//gotoAndPlay(1,"Wheel_Rotate");

//gotoAndStop(1,"Wheel_Rotate");

//MovieClip(parent).gotoAndPlay(1, "Wheel_Rotate");

and many many othe random! combinations with parent and root to tell the flash this simple task!

Hey dear Flash, please play "Wheel_Rotate" Scene after "Wheel_Slide_In" Scene! Simplz!

unfortunately, me and Flash don't talk the same language!

could you please help me to write the correct code and understand how you play another scene from a different one?

many thanks

This topic has been closed for replies.
Correct answer Ned Murphy

If the code is in the main timeline then gotoAndPlay(1, "Wheel_Rotate");  should work

You should avoid using scenes and either use movieclips or have it all in one scene.  Scene navigation has always been an issue with Actionscript/Flash.

1 reply

Ned Murphy
Ned MurphyCorrect answer
Legend
September 29, 2016

If the code is in the main timeline then gotoAndPlay(1, "Wheel_Rotate");  should work

You should avoid using scenes and either use movieclips or have it all in one scene.  Scene navigation has always been an issue with Actionscript/Flash.