2 Replies Latest reply on Jun 29, 2011 12:39 PM by Ned Murphy

    many variables or one Array?

    prodigalmaster Level 2

      Hi. I am bad at using Arrays.

      Basically, there are 24 movieclips with 2 states, empty and full. Their instance names are from space0 to space23. When each movieclip are in the first state, empty what I am "planning" on doing is setting a specific variable for that movieclip called var space0empty:Boolean = true; and when it is in the second state make it false. I would have to make 24 variable for each movieclip.


      Is there a simpler way to do this with Arrays, also, could you please explain any code given on arrays or at least tell me how to use arrays as the equilivant for what I said with variables.