Which version and if Flex 4, which WindowedApplication (mx or spark).  I proved 
it worked with Flex 4 mx:WindowedApplication before proposing that solution.


On 3/1/10 3:26 PM, "Christopher McArthur" <[email protected]> wrote:






Hmm This throws an NPE in WindowedApplication's  override setVisible because 
this._nativeWindow is null. (however this.nativeWindow is valid).

Will try experimenting in a smaller test project.




From: [email protected] [mailto:[email protected]] On Behalf 
Of Alex Harui
Sent: Monday, March 01, 2010 2:34 PM
To: [email protected]
Subject: Re: [flexcoders] A loading progress bar with a WindowedApplication?



WindowedApplication’s default behavior is to hide itself until the app is 
completely ready.  If you want to see a progressbar, add the following to the 
WindowedApplication tag:

preinitialize="visible=true"


On 3/1/10 9:18 AM, "Christopher McArthur" <[email protected]> wrote:






My AIR application is a standalone WindowedApplication. On startup, it does not 
have a loading bar. Looking thorugh many flex articles and example I see a lot 
of talk of the startup loading bar that works automatically with Flex, however 
all of these are about web applications. Does the WindowedApplication have one 
as well? If so can anyone point me in the right direction for how to activate 
it?

-Christopher






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to