Accordion, as well as the ViewStack and Tabnavigator containers all use “deferred instantiation” by default.  The purpose of this is to increase the speed with which an application loads.  Child components are not rendered until they are needed.

 

The quick, but sloppy fix is to set the creationPolicy=”all” on the container.  This can seriously impact the initial load of the app.  There are ways to fine tune instantiation, including programmatic instantiation of the components you need to address.

 

See the docs for creationPolicy.

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of Wally Randall
Sent: Tuesday, September 26, 2006 11:09 AM
To: [email protected]
Subject: [flexcoders] When are Accordian Components instantiated?

 

Problem: I have a form with an accordian component. As the workflow
progresses I need to enable buttons and components in accordian panels
which have not yet been openned. That is not possible until the panel
containing the component is openned.

Can someone explain how the accordian component instantiates panel
components?

Do you have a suggestion for how to enable a component that has not
been instantiated?

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to