all groups > macromedia flash sitedesign > july 2006 >
You're in the

macromedia flash sitedesign

group:

How to I chaange scenes... without the timeline?


How to I chaange scenes... without the timeline? NathanEdwards
7/28/2006 12:55:43 PM
macromedia flash sitedesign:
Hi

I only know the basic of Flash so hopefully this question should be straight
foreward to most people!

I'm puting together a Flash movie that contains several scenes and need the
Timeline to only continue form one scene to another (on some scenes not all)
once a button symbol on sceen is selected.

I have tried using the following action script but it doesn't seem to work:

on (click) {
gotoAndPlay(nextScene);
}

Can anyone help... please bear in mind that I'm not at all experieced on this
type of stuff and only speak English (not any programing language).

Thanks,
Re: How to I chaange scenes... without the timeline? Moca
7/29/2006 3:25:17 AM
Hi Nathan,

Where are you placing that code?
It would only work I believe if placed on a button symbol and if the
user presses that button...

You could select the last frame on that scene and add the
gotoAndPlay(nextscene); This would just advance to the next scene when
it reaches that last frame..

Honestly it has been a while since I used scenes. It is kind of a
preference but I think nowadays it is "better" practice not to use it
and manipulate the movie clips under a single frames.

So instead of placing your animation on the main timeline, make a movie
clip and place that movie clip on the first frame, a second mc on the
second frame and so one with a stop() on the frame where the movie clip
is placed (main)

AddThis Social Bookmark Button