menu btns disable

Out of context: Reply #6

  • Started
  • Last post
  • 14 Responses
  • Mishga0

    _parent and _root:

    "_parent is often the same as _root because it's fairly common to have a single movie that contains a few symbols. The parent of those symbols is root.

    In general, it is a good practice to use _parent (instead of _root) whenever it works. This is because it means the script is relative to that particular movieclip. If you move the movieclip around in the hierarchy - attaching it to another movieclip and putting it deeper in the hierarchy, the script will still work.

    You also may run into trouble with using _root if a movie gets loaded by another movie. In this case, what you thought was _root is no longer your parent timeline..."

View thread