Thanks Alex!  We were hoping for that elusive "disableNow" function to add to 
the invalidateNow(), validateNow() family. ;)



--- In flexcoders@yahoogroups.com, Alex Harui <aharui@...> wrote:
>
> Don't call factory.create() until the first time you go to that tab.
> 
> 
> On 4/9/12 11:16 AM, "jamesfin" <james.alan.finnigan@...> wrote:
> 
> 
> 
> 
> 
> 
> We have up to 30 small modules that are getting loaded at startup and notice 
> that the accumulative perceived loading effect is slow when creating the 
> modules via...
> 
> _module.factory.create() as IVisualElement;
> 
> ... as all of the modules are competing for CPU to draw themselves.
> 
> So, is there a way to disable all component rendering (i.e. screen updates) 
> in each module until the user selects focus for each particular 
> container/module?  There's no reason to draw everything at the same time when 
> all of them can't be seen at the same time.
> 
> Imagine each module is added to a tab in tabnavigator and that only the first 
> visible tab/module has been rendered, when any other tab is selected, the 
> module then and only then renders itself.
> 
> 
> 
> 
> 
> 
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>


Reply via email to