actionscript 3 - Doing a For on a function converting to a MovieClip -


i need alot of informations @ once, , tried this:

function pegainfo(m:movieclip, i:int){} 

and e tried this:

var i:int for(i=0;i<10;i++){     pegainfo(["l"+i], i);  } 

is there can do?

i think you're looking this:

var i:int for(i=0;i<10;i++){     // assumes loop in same scope display     // list contains clips you're trying access     pegainfo(this["l"+i], i);  } 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -