Using sprites as an Array to hold Objects


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. for(var i:int = 0; i<someContainerSprite.numChildren; i++){
  2. sTemp:Sprite = someContaier.getChildAt(i);
  3. }

URL: http://www.destroyyourcomputer.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.