Eric Fleming 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?


Containers, like tab navigators, accordions, etc, have a creationPolicy 
parameter that controls this behavior.

http://livedocs.macromedia.com/flex/2/langref/mx/core/Container.html#creationPolicy
or http://tinyurl.com/y2bhd4

If you set creationPolicy="all", all of the tabs will be loaded right away.

There was a holy war about this a week or so ago. :)

Rick


--
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/
 

Reply via email to