-
Hi,
Hope someone can help.
What it is, is I've created a menu button, which upon relaes action it expands blah blah. then any button within that has a release action of closing it again. This all works fine, but the one thing I can't do is link these buttons to either another frame in the movie or to another scene.
Can anyone give me a hint on the actionscript for this?
thanks in advance!
-
Moderator
You need to target the root timeline:
on (release) {
_root.gotoAndPlay("yourframelabelhere");
}
-
Hi, thanks for your help, can you tell me what I am doing wrong,
this is my script, after trying what you said, the frame I want it to go to is on Scene 1 and it's frame 2 which has a label called 'about'
on (press) {
gotoAndStop ("collapsed");
}
on (release) {
_root.gotoAndPlay("Scene 1", "about");
}
-
Moderator
on (release) {
_root.gotoAndPlay("about");
}
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
|