Progess Dialogs

The ProgressDialog and WorkingDialog scripts are designed to show progress through a slow repeat loop and are drawn directly to stage (there is no need to worry about sprites or anything). They are used like this:

 prog = script("WorkingDialog").new("Scanning text...")

  repeat while true

    doSomethingReallySlow()

    prog.mShowProgress()

  end repeat

  prog.mDestroy()

A director 8 cast with all the progress bars and dialogs is available here.

First published 09/06/2005