Container.addChild()

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of morpankhy
Sent: Monday, August 25, 2008 9:14 AM
To: [email protected]
Subject: [flexcoders] How to Create an object of Custom component
dynamically / at Runtime / on-fly

 

I have some custom components. I want to make their objects at
runtime. How to do that in flex ?

Exa. MyLayout001.mxml, MyLayout002.mxml, MyLayout003.mxml,
MyLayout004.mxml and MyLayout005.mxml and so on. ( lots of custom
classes I have )

Now on click of a button ( as per users' choice ) I want to create
the corresponding object of above components

How to do that >?

 

Reply via email to