One way I did it was making a Singleton class that popups up a small 
TitleWindow.  This TitleWindow has a ProgressBar in it.  The ProgressBar's 
indeterminate is bound to the visibility (you don't want it playing while 
the window is invisible; takes up resources).  You can then do:

WaitWindow.showProgress("Loading...");

Inside, it'll create a popup if none exists, and put the text in there. 
It's modal by default.  You can then later go:

WaitWindow.remove();

And if one exists, it'll remove it.  Subsequent calls to showProgress merely 
update the text.  You can use this for changed commands.




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to