Hello!
I used to put a load of instance names linking to library objs into an array in AS2, then use a loop to add them to the stage…
I htought this would work in AS3, alas no.
var list:Array new Array("one", "two","three");
for(var i:int=0;i<list.length;i++)
{
this["emptyClip"+i] = new MovieClip();
this["emptyClip"+i].x = i*50;
this["emptyClip"+i].addChild(list*);
addChild(this["emptyClip"+i]);
}
“one”,“two” etc are the names of the images in the library … //:block:
It’s hard to find out the new ways of approaching the old AS2 methods … Thanks for any help