I’m trying to make it so I dynamically create MovieClips and I’m wondering how to do it in AS3 (I know AS2 I think).
sCharm1:letterA = new letterA;
I am trying this, but this doesn’t work… Any suggestions? I’ve been at this for days, any help would be greatly appreciated.
var alphabet:Array = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("");
for(var i = 0; i < 26; i++){
var sCharm*:("letter"+alphabet*) = new ("letter"+alphabet*);
}
Thank you for your help,
Vincent
P.S. I’m not including all the other code. The rest works correctly. I included enough to get the point across.