Showing a "Loading..." dialog or busy cursor on AIR startup -


What is the best way to show a dialog or a busy cursor for an AIR application before displaying anything pre-processing? Otherwise, the user might think that this app has crashed in 15-25 seconds, which takes it ...

I can not talk specifically for AIR, but I have written on all Flash pages, apps and widgets, I always include a preloader.

It actually loads external material.

But if you are only doing heavy calculations and are not loading any external data:

  • Set the total number of "units of work", which Need to complete (Example: if you have data to process 100 rows, which are the total units of your work)
  • Display an animated "Loading ..." movie clip
  • Begin computing and calculating variables each time
  • in your loading movie clip in a TextField:

      Percent = (Count / Total)% 100  

Comments