okay, I’m having a this trouble: I have a loop that run looping in several seconds, while it looping, it hangs the flash player (browser) for a while. So is there any solution to process other task while looping? like “updateAfterEvent” or something. What I want is to make a process displayer (a rotating circle for example) while it processing the loop … I hope you guys understand what I mean… Thanks in advanced!
for (var i:int = 0; i<VERY_LARGE_NUMBER; i++)
{
// DO SOMETHING THAT VERY IMPORTANT HERE
updateProcessBar(); // this make the looping task more slower, and I'm not sure it would work!
}