I'd suggest breaking up your processing in Step 3 so that the player has a chance to step in and update the screen. Take a look at articles on "green threads" for the basic concept:
Off the top of my head, some ways to break your processing up into chunks:
- set up a Timer that fires every n milliseconds, and a listener on the Timer events that processes a chunk of the file on each event
- set up an ENTER_FRAME event handler that processes a chunk of the file on each event
- chain the processing of your chunks of the file with callLater() calls
Also, you may want to take a look at the ProgressBar component for reporting the progress of your processing.
-- Tom Kraikit
Flex SDK engineer
RELEASE THE KRAIKIT !
Sorry, I had to, its been a slow day.
Thanks for the laugh!
This is somehow close to what you need
It loads and parses a csv file asynchronous. both csv file and project are available for download. it sends progress events also...