Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

as2 to as3 conversion help

Status
Not open for further replies.

lucidtech

IS-IT--Management
Jan 17, 2005
267
US
I have the following code in AS2 :

for(g=0; g<10; g++) {
var curCard = attachMovie("Card Clip", String("card"+String(g)+"_mc"), 500000 + g);
cur = eval("card"+String(g)+"_mc");
}

How would I do this in AS3. I need to be able to create movie clips with dynamic names and then be able to directly reference them with my code afterwards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top