1 Reply Latest reply on Mar 31, 2007 3:06 PM by abeall

    disabling all movie clips that are on lower levels

    vrish88 Level 1
      Hello

      I have a movie clip that pops up over all other movie clips. But it is still possible to interact with these movie clips that are beneath the mc that has popped up. Is there any way to disable all of the movie clips that are beneath the one that popped up?

      thanks
        • 1. Re: disabling all movie clips that are on lower levels
          abeall Level 3
          Typically the way to do this is simply create a large invisible MovieClip which covers everything, and give it a an interactive event. I often use:
          on(rollOver){
          useHandCursor = false;
          }

          This way not only does it steal interaction from anything below it, it makes it so the cursor doesn't turn into a hand making the user think there's something clickable.

          You could also make a loop which checks getDepth() and if it's below a specified depth, set enabled = false, but there's really no reason in doing that.