3 Replies Latest reply on Oct 7, 2010 6:28 PM by Rothrock

    Disable movieclip actions

    SpiritOfTheWinds Level 1

      Here's my little problem. I have a movieclip that can be hidden on a button click (and another clip shows over it) from the user, but the thing is that even after being set to _visible = false, I can still click on the "invisible" buttons (in fact they are MC with onRelease actions).

       

      So my question is: How to disable the MC the so that nothing can be done in it? Note that there are drag actions, over 20 buttons actions and such in the movieclip... so there's quite too much to disable individually...

       

      I tried:

       

      _root.myMC._visible = false; // OK, my MC is not showing anymore

      _root.myMC.enabled = false; // Not working, buttons can still be clicked

       

      Thanks!