Hello,
I have a button on stage and when it is pressed I would like to add a movieclip in increments of one. For example if I press the button once I get “mc1”, if I press it twice I get “mc2”. Does anyone know what I’m doing wrong? Right now its just counting straight to 9. Thank you.
private function more_text_ButtonPressed(event:MouseEvent) {
for (var i:Number = 0; i < 9; i++)
{
var my_mc:MovieClip = new MovieClip();
my_mc.name = "mc"+*;
addChild(my_mc);
trace(my_mc.name);
}
}