The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 2 of 2

Thread: AS2 HELP: button in nested mc won't link back to main timeline

  1. #1

    AS2 HELP: button in nested mc won't link back to main timeline

    so i have a main timeline with a mc. the main timeline has a button named "how_btn" that plays the mc (named "how"). once i get into playing "how", i have a button named "menu" that i want to bring the user back to the main timeline (where the "how" button is). this is how i scripted:

    how_btn.onRelease = function () {
    gotoAndStop("how");
    }
    menu_btn.onRelease = function () {
    gotoAndStop("nav");
    }

    the how button script works, however the menu button does not. is this b/c it's in a nested mc? i tried specifying the root, but that didn't do it either.

    any suggestions?

  2. #2
    maybe post some more code

    does your syntax look similar to this?

    ActionScript Code:
    _root.movieclip.menu_button.onRelease = function(){
    //do something
    }



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012