A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: buttons within a movie clip

  1. #1
    Senior Member willi-jay's Avatar
    Join Date
    Sep 2000
    Posts
    116

    buttons within a movie clip

    What's the easiest way to get buttons within a movie clip to jump the movie to certain scenes?
    Willi-Jay
    ______________________________
    Creative Communications
    www.creativecommunications.ca
    ______________________________

  2. #2
    human
    Join Date
    May 2000
    Posts
    132
    Great question!!!!

    I have a button that sits in a MC on a scene, and I am using this script:

    on (release) {
    with (_root.menu) {
    gotoAndPlay("main",2);
    }
    }

    menu is the name of the mc instance.
    main is the name of the other scene.

    I am so frustrated!!!!!
    Any ideas????????

  3. #3
    Senior Member willi-jay's Avatar
    Join Date
    Sep 2000
    Posts
    116

    this works

    put a frame lable on the frame of the scene you wanna jump to (ie.frame)

    then use this code on your button:

    on(press){
    _root.gotoAndPlay("frame");
    }
    Willi-Jay
    ______________________________
    Creative Communications
    www.creativecommunications.ca
    ______________________________

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