7 Replies Latest reply on Sep 12, 2012 3:38 PM by kglad

    Simplify hiding multiple movieclips at start of frame

    residentevil750

      I am trying simplify my code and save space in my actions panel.  At the start of a new frame I have several movieclips hidden (._visible=false) till I call for them to become visible later.

       

      This is the frame's AS I would like to condense:

       

      MC1._visible=false;

      MC2._visible=false;

      MC3._visible=false;

       

      ...etc.

       

      I have about 30 MC# movieclips.  Can someone show how to shorten the code so all 30 mcs are hidden you enter the frame?  An array perhaps?

       

      Thank you.