-
loops in flash
I have a relativly simple loop that goes through 400 objects and it takes ages to complete, first few times i thought flash has stoped responding but afterwards when i waited long enough it would actually finish the loop. But very slow...? Why is that?
I also tried with for each object, and it's slow with that aswell.
-
Re: loops in flash
-
Re: loops in flash
I m using wargame calculate a path for each looped object to see if it's in walking distance.
-
Re: loops in flash
400 objects? That's just too much even with no code in the frame. It hangs my browser...
-
Re: loops in flash
Yeah, i did try doing some simpler things but it looks like loops in flash are laggy. So i did the code without the loop.