Suppose you used Time to delay about 5 seconds after application.creatonComplete, then either set creationPolicy="all" or manually call createChildren() on the desired views?
Kind of half and half, where the app would display quickly, but begin rendering "in the background" without user intervention. Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Wednesday, October 22, 2008 5:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: viewStack is slow opening the first time Hi Mark, This may be one case where you would want to use creationPolicy="all", for the ViewStack. It will add more time to startup, but the user experience may be better; once the application is loaded. -TH --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Mark" <[EMAIL PROTECTED]> wrote: > > I'm building an app with 4 stacks in my viewStack with a wipe in and > out effect. The Stacks are just different views of the data, a > generic datagrid view, a bar chart view, and a couple others. The > default datagrid view is fine but the others, such as the bar chart, > needs to do some calculations before displaying that chart. Because > these calculations are being done the first time you click the button > it's slow in opening that view. Is there a way to display the "busy > cursor", or maybe a way to do the calculations in the background > before they change the view? > > I'm connecting to a web service then splitting out the data into a few > different arrayCollections. Each view is a custom component that is > bound to it's specified arrayCollection. > Any thoughts? > > Thanks, > Mark >