-
scene jump
I'm trying to write up an action script to jump from intro movie in scene 1 (labeled 'intro') to the actual flash site in scene 2 (labeled 'homepage') I tired to use a gotoAndplay command but that didn't work out to well. Can someone please point me in the right direction?
thanks
-
Again, I guess for the 5th time only today, you cannot target scene names from movie clips. Use frame labels and add _root to your path:
on(release){
_root.gotoAndPlay("frame_label");
}
-
thanks
Actually, I have not read your other 4 posts. I'm assuming they have to deal with the 'onRelease' command. I on the other hand do not have to deal with it. I'm just jumping straight in from intro movie to homepage. OR in this case from label to label.
-vw
-
Just forget the button's on release stuff, but use the same action line.
_root.gotoAndPlay("frame_label");
-
oops
I think I forgot to mention the most important part
I have a movie playing at the end of the main root.
so it looks something like this:
in the BG I have this continual looping BG movie
at frame 40 there is a stop() action.
at frame 40 an imbedded movie is playing.
I tired to put the:
_root.gotoAndPlay("frame_label");
inside the last movie playing to see if I can get it to jump to the next scene but
that proved useless.
thanks again for the script.
-vw
-
Question is do you have a frame labeled frame_label in this other scene you're targeting? And is it unique?
I've been doing this and giving out this recipe for 3 years now, think I know it works!
What else have you not said? And rather not saying things, why don't you attach your .fla, then we can see for ourselves what you're doing wrong!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|