flash - delay in as3 while loop -
i using as3. sprites not working correctly on hittestpoint in while loop. think because going fast before can update display. add delay while loop. easiest way this?
like:
while (condition){ main code here code delay of 20ms }
how can delay in as3?
you use timer instead of loop.
Comments
Post a Comment