I did this to help illustrate to a homey on the Flexcoders list how you update the screen during intense operations. As was suggested by multiple Macromedians, you should have a counter keep track of where you are in the data processing, and only process a set chunk amount, update the screen, and continue processing.
You can accomplish this through a series of doLaters. They are not perfect because they don’t ensure the same method isn’t called more than once per frame unecessarely, but trying to explain to a Java developer what:
…does really isn’t worth it.
Anyway, here’s a good example any Flexer or Flasher can use to see how to update your GUI with a ProgressBar for example when you have a very processor intensive loop going on in the background.