dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: button

  1. #1
    </p>Rick's Stew</p>
    Join Date
    Mar 2002
    Posts
    15

    button

    hello, i have a button inside a movieclip on the main timeline with the following script;

    on (release) {
    gotoAndPlay(71);
    }

    however i want this script to effect the top most level of the animation....because at the moment it is only going to frame 71 in the movieclip, am i making sense? I think I have to ue something like 'root'?

    plz help!

  2. #2
    Flash Addict angiedarrah's Avatar
    Join Date
    Apr 2002
    Location
    Asheville, NC
    Posts
    123
    You are correct.

    you should use:

    Code:
    on (release) {
      _root.gotoAndPlay(71);
    }

  3. #3
    Senior Member sofiebel's Avatar
    Join Date
    Feb 2001
    Posts
    1,044
    And you will probably be better off using frame labels in stead of the frame number.

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