Hello all. I have 16 instances of one movie clip on the stage and each one has their own unique instance name. The movie clips have a nested animation and I want each clip to play randomly. I’m familiar with the Math.random class, but not for animating clips. Here is what I have so far:
var turkeyArray:Array = new Array();
turkeyArray[0] = turkey1_mc;
turkeyArray[1] = turkey2_mc;
turkeyArray[2] = turkey3_mc;
turkeyArray[3] = turkey4_mc;
turkeyArray[4] = turkey5_mc;
turkeyArray[5] = turkey6_mc;
turkeyArray[6] = turkey7_mc;
turkeyArray[7] = turkey8_mc;
turkeyArray[8] = turkey9_mc;
turkeyArray[9] = turkey10_mc;
turkeyArray[10] = turkey11_mc;
turkeyArray[11] = turkey12_mc;
turkeyArray[12] = turkey13_mc;
turkeyArray[13] = turkey14_mc;
turkeyArray[14] = turkey15_mc;
turkeyArray[15] = turkey16_mc;
var i:Number = 0;
for(i=0; i<turkeyArray*.length; i++)
{
WHAT GOES IN HERE TO PLAY EACH INSTANCE RANDOMLY?
}
Thanks!
Jesse