Is it possible to create mc’s with dynamic names in AS3?
what im trying to do is have a FOR loop create some mc’s, since the number of mcs that need creating will change, i need a way to create any number of mcs and name them.
eg
var holder + Ticker:MovieClip = new MovieClip();
holder + Ticker.graphics.beginFill(0xff0000);
holder + Ticker.graphics.drawRect(0, 0, 180, 120);
holder + Ticker.graphics.endFill();
holder + Ticker.x = 210;
holder + Ticker.y = 0;
addChild(holder + Ticker);
Ticker++
clearly my code there doesnt work but how can i create multiple mcs so that the names of them are like
holder1
holder2 etc etc
hope this makes sense