[flexcoders] Re: first user tab is slow

2009-03-10 Thread schneiderjim
We will run the profiler to see. We have a very large, form based app, so there 
may be something there. It can sometimes take up to 3 - 4 seconds to tab to the 
second form field. 

Some questions:

1. When is the sorted list computed? On the first tab?

2. Is there any way we can change when that happens?

3. What determines whether an object can receive focus? If we have a 
form/canvas over a form/canvas over ... is it only the visible form that has 
objects that can receive focus?

4. What do you mean by startup time delays? Loading the swf?


--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 You can run the profiler to see why it is taking so long.  We do compute a 
 sorted list of all objects that can receive focus, but you'd need an awful 
 lot of them to cause a noticeable delay, and if you've created that many, I'd 
 expect you'd be having startup time delays that would be even more 
 problematic.
 
 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of schneiderjim
 Sent: Monday, March 09, 2009 2:08 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] first user tab is slow
 
 
 Flex: 2.0.1
 
 In our app, we experience a significant delay when the user tabs from the 
 first form field to the second. After that, tabs work as expected. Is there a 
 reason for this? Is there a way to eliminate this delay? I'm not sure whether 
 this is a factor, but many (not all) of the forms are dynamically created (in 
 AS).
 
 Thanks





RE: [flexcoders] Re: first user tab is slow

2009-03-10 Thread Tracy Spratt
Make sure you have not been using creationPolicy=all.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of schneiderjim
Sent: Tuesday, March 10, 2009 11:49 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: first user tab is slow

 

We will run the profiler to see. We have a very large, form based app, so
there may be something there. It can sometimes take up to 3 - 4 seconds to
tab to the second form field. 

Some questions:

1. When is the sorted list computed? On the first tab?

2. Is there any way we can change when that happens?

3. What determines whether an object can receive focus? If we have a
form/canvas over a form/canvas over ... is it only the visible form that
has objects that can receive focus?

4. What do you mean by startup time delays? Loading the swf?

--- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
Alex Harui aha...@... wrote:

 You can run the profiler to see why it is taking so long. We do compute a
sorted list of all objects that can receive focus, but you'd need an awful
lot of them to cause a noticeable delay, and if you've created that many,
I'd expect you'd be having startup time delays that would be even more
problematic.
 
 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe. http://www.adobe.com/ com/
 Blog: http://blogs. http://blogs.adobe.com/aharui adobe.com/aharui
 
 From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
[mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com]
On Behalf Of schneiderjim
 Sent: Monday, March 09, 2009 2:08 PM
 To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
 Subject: [flexcoders] first user tab is slow
 
 
 Flex: 2.0.1
 
 In our app, we experience a significant delay when the user tabs from
the first form field to the second. After that, tabs work as expected. Is
there a reason for this? Is there a way to eliminate this delay? I'm not
sure whether this is a factor, but many (not all) of the forms are
dynamically created (in AS).
 
 Thanks