PDA

View Full Version : Using 'goto' to jump scenes, from inside a MOVIE!


Jedi Flight
01-20-2003, 11:02 AM
Hello,

This has been anoying me all night, can someone PLEASE HELP!
The answer is probably so simple, but I cant figure it out...

I need to jump to another scene, from inside a movie clip, which is playing in the currentscene.

SIMPLE!

E.G
I am on the Services scene, playing a little animation (a movie clip instance in that scene), and at the end of that animation, I want to goto the Prices scene.


I tried simply adding an action gotoandPlay("Prices", 1); at the last frame of the movie instance, but it seems to simply repeat the movie instance, and DOESNT change the scene at all....

I can easily change the scene from the main scene view, with a button etc... but once inside a movie, how on earth can I jump somewhere else?


ANY help would be GREATLY appreciated.

Thanks in advance!

Cya
Damian.

CyanBlue
01-20-2003, 11:54 AM
Howdy... Welcome to the club... :)

Do NOT use scenes... Use FRAME LABELS in Flash... That is an order!!! ;p That will make your life whole lot easier...

Seriously... Use the frame label with gotoAndPlay with proper pathing and you are good to go... :)

snapple
01-20-2003, 06:13 PM
Jedi Flight,

Two useful links :

(one is within the other - but i'd thought i'd post both)

http://www.actionscript.org/forums/showthread.php3?s=&threadid=14126&highlight=problems+with+scenes


http://www.actionscript.org/forums/showthread.php3?s=&threadid=19409&highlight=scenes+evil

snapple :)

Jedi Flight
01-21-2003, 05:53 AM
Thanks alot for your replies.
They have been most helpful.

Interestingly, the reason I am using scenes, I because I am creating interactive multimedia presentations, where each page has a scene, i.e pricing etc...

It seems more logical to do it that way, rather than having one GIANT timeline, which also makes it hard to add or subtract frames, as huge amounts of the timeline have to be moved...

However, using both Scenes AND frame labels seems to work!
The movie will actually jump scenes if you point it to a different frame label.

This way, you can have the best of both worlds!
Scenes + Frame label control!