bettheturn
01-25-2005, 04:51 AM
Hey all,
I've got a scene (first scene) called Loader that performs loading for data, then the idea is once it is loaded to jump to the Application scene.
Using gotoAndPlay("Application", 1) it will get to that scene. However, it continues playing the first scene (Loader) as well as the second scene. I assumed the playhead would MOVE from the first to the second scene doing that. If flash is built to play them concurrently, I assumed that calling gotoAndPlay("Application", 1) and then stop() from within the Loader scene, would start the Application scene and STOP the Loader scene. It seems to do this, but the Application scene executes the first frame and stops as well. If at the end of the Application scene I call play() or even gotoAndPlay("Application", 2) it again plays BOTH the Loader scene AND the Application scene. Tis is bizzare and makes no sense to me.
I just want to jump FROM one scene TO the next, having the first scene STOP and the second one START. These are the methods I tried:
// ======================
// Loader Scene (scene 1)
gotoAndPlay("Application", 1);
stop();
// ======================
// Application Scene (scene 2)
// execute whatever...
// frame 1 plays but never gets to frame 2
// ======================
// Loader Scene (scene 1)
gotoAndPlay("Application", 1);
// ======================
// Application Scene (scene 2)
// execute whatever...
// application scene plays both frames,
// but the Loader scene continues playing too
// ======================
// Loader Scene (scene 1)
gotoAndPlay("Application", 1);
stop();
// ======================
// Application Scene (scene 2)
gotAndPlay("Application", 2);
// application scene will now play scene 2,
// but the Loader scene ALSO starts playing!!
I know theres something I am missing here, but how is it that stop seems to stop ALL scenes and start starts ALL scenes? I need to be able to start just ONE scene and stop just ONE scene.
Thanks for any help.
I've got a scene (first scene) called Loader that performs loading for data, then the idea is once it is loaded to jump to the Application scene.
Using gotoAndPlay("Application", 1) it will get to that scene. However, it continues playing the first scene (Loader) as well as the second scene. I assumed the playhead would MOVE from the first to the second scene doing that. If flash is built to play them concurrently, I assumed that calling gotoAndPlay("Application", 1) and then stop() from within the Loader scene, would start the Application scene and STOP the Loader scene. It seems to do this, but the Application scene executes the first frame and stops as well. If at the end of the Application scene I call play() or even gotoAndPlay("Application", 2) it again plays BOTH the Loader scene AND the Application scene. Tis is bizzare and makes no sense to me.
I just want to jump FROM one scene TO the next, having the first scene STOP and the second one START. These are the methods I tried:
// ======================
// Loader Scene (scene 1)
gotoAndPlay("Application", 1);
stop();
// ======================
// Application Scene (scene 2)
// execute whatever...
// frame 1 plays but never gets to frame 2
// ======================
// Loader Scene (scene 1)
gotoAndPlay("Application", 1);
// ======================
// Application Scene (scene 2)
// execute whatever...
// application scene plays both frames,
// but the Loader scene continues playing too
// ======================
// Loader Scene (scene 1)
gotoAndPlay("Application", 1);
stop();
// ======================
// Application Scene (scene 2)
gotAndPlay("Application", 2);
// application scene will now play scene 2,
// but the Loader scene ALSO starts playing!!
I know theres something I am missing here, but how is it that stop seems to stop ALL scenes and start starts ALL scenes? I need to be able to start just ONE scene and stop just ONE scene.
Thanks for any help.