I am not exactly sure what you mean by "load windows whilst inside a
given state" but if you mean "add components to containers", then yes,
this is done regularly, using addChild().  Here is a simple example:

http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectI
D=562

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Alex
Sent: Sunday, March 11, 2007 3:35 PM
To: [email protected]
Subject: [flexcoders] Dynamically create widgets? (Flex noob)

 

Hi there,

Is there any way to dynamically load windows whilst inside a given
state?

For example, replicate the behavior in Java where we do:

JFrame f = new JFrame();
f.setSize( 100, 100 );
f.setVisible( true );

Is there a Component.create( ) type of method?

Thanks Always!
Alex

 

Reply via email to