This content has been marked as final.
Show 3 replies
-
1. Re: setting child index from within array
Andrei1 Sep 14, 2010 10:45 AM (in response to BrianatArena)Sorry - misread your code.
-
2. Re: setting child index from within array
Andrei1 Sep 14, 2010 10:50 AM (in response to BrianatArena)First, you need to move function declaration outside the loop.
Second, you can just use addChild() to move the object to the top index on display list.
-
3. Re: setting child index from within array
BrianatArena Sep 14, 2010 12:08 PM (in response to Andrei1)Ah ha, thanks for the advice. At first I wasn't sure how to reference each instance individually from outside the loop, but eventually figured it out with event.currentTarget.

