A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: button help????pleeeeeease

  1. #1
    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!

  2. #2
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    You need to target the root timeline:

    on (release) {
    _root.gotoAndPlay("yourframelabelhere");
    }



  3. #3
    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");
    }

  4. #4
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center