On 11/6/06, Eric Fleming <[EMAIL PROTECTED]> wrote: > I am at the beginning stages of learning Flex 2 but I cannot find any > information about this online. If I have an application that has 5 > tabs and when you click on a tab it will load a different form in each > tab. Is there a way that the form can be loaded at runtime so that if > you only click on two of the tabs, the other three are never loaded? > The reason I ask is that I work with a fairly large html application > that has hundred of pages and putting that into one swf would be a > huge burden on our servers and also make the user wait longer than > they need to when as much of 80% of the application will not be used > on the session. Any help would be appreciated as I may be stuck in > the request/response world still and I am just missing something > obvious. >
Eric, The default behavior of the multi-view components such as the TabNavigator, ViewStack, and Accordion tags is to use deferred instantiation of the content, so you're already set up to do what you want out of the box. For more information on the creationPolicy attribute (which drives this feature), check this page out in the LiveDocs: http://livedocs.macromedia.com/flex/2/docs/00001428.html Regards, Dave. Cynergy Systems, Inc. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/

