I have 4 similar objects firing:
seaSpriteInstance1:play()
seaSpriteInstance2:play()
seaSpriteInstance3:play()
seaSpriteInstance4:play()
what is the correct for loop syntax that would do the same thing?
In AS3, it would look something like:
for(var i:Number = 1; i<5; i++){
this[‘seaSpriteInstance’+i].play()
}
Thanks! [import]uid: 146743 topic_id: 27120 reply_id: 327120[/import]