1 Reply Latest reply on Aug 30, 2011 1:04 PM by prodigalmaster

    variable for each movieclip/instance name?

    prodigalmaster Level 2

      I make several movieclips on the stage so they have names zombie1 zombie2 zombie3 etc. and I was wondering how to I assign a single variable to each of them.. rather than having to create 3 variables. For instance, var zombieHealth would need to be different for each instance, is there an easy way or do I have to create loads of variables in a for loop?