This should help:

http://www.macromedia.com/devnet/flex/articles/prog_layout.html

-----Original Message-----
From: Tracy Spratt [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 9:10 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Rendering in background


I have not done any of this but you might look into "progressive
instantiation".  You set the creationPolicy="none" on your containers,
then use methods that explicitly cause the children to be instantiated.

There is a white paper or technote about this somewhere.

Tracy

-----Original Message-----
From: viraf_bankwalla [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 11:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Rendering in background



Sorry - but I do not understand your response.

My Splash page is part of a viewStack as is the application page.  
The data is loaded with the splash page being displayed.  The 
performance problem is with the rendering of the application page.  
This page is initialized when I select it in the viewstack.  

So the question is how do I get the page to construct while it is 
not displayed, and then switch to it when it has rendered.


Thanks.



--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> Throw your splash page in a modal popup?
> 
> import mx.managers.PopUpManager;
> 
> splash = PopUpManager.createPopUp(mx.core.Application.application,
>     YourSplashComponent,
>     true);
> 
> 
> // later
> 
> splash.deletePopUp();
> 
> ----- Original Message ----- 
> From: "viraf_bankwalla" <[EMAIL PROTECTED]>
> To: <flexcoders@yahoogroups.com>
> Sent: Thursday, April 14, 2005 10:07 AM
> Subject: [flexcoders] Rendering in background
> 
> 
> 
> 
> Hi,
> 
> I have an application that displays a splash page on startup.  It 
then 
> proceeds to load data for some grids.  Once the data has been 
> received, it selects the view to be displayed.  
> 
> The problem is that this view takes a considerable amount of time 
to 
> load (it has two grids).  I would like for this view to be 
constructed 
> in thee background if possible.  When the data is received, and 
the 
> view has been constructed, I would like to switch from the splash 
view 
> to the application view.
> 
> My question being how do I get the view to render its content in 
the 
> background while the splash page is being displayed.
> 
> Thanks.
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links





 
Yahoo! Groups Links



 







 
Yahoo! Groups Links



 





 
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