-
Buttons within a MovieClip
Hi,
I have sued buttons within movie clips many times, but for some reason they are not linking to specific scenes properly.
I have a movie clip in a scene named "main". In this movie clip I have two buttons. Within the main swf(fla) I have another scene named "about". It does not link when using the following code...
on(release) {
_root.gotoAndPlay("about");
}
Am I doing something wrong??
Thanks
-
that code is trying to gotoandplay a frame labeled 'about', you want gotoAndPlay(1, "about");
Also scenes are a headache in general
-
You cannot target Scenes from another timeline.
this:
PHP Code:
_root.gotoAndPlay("about");
will only work if "about" is a label on a keyframe (for instance, the first frame of your 'about' Scene)
gparis
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
|