Re: [flexcoders] mxlm component instantiation using ActionScript

2010-03-15 Thread Alex Harui
You can build that way, but use Label instead of TextField On 3/12/10 9:03 AM, "normc_actionscript" wrote: Is it possible/advisable to add an mxml component to the application by doing this from a Flex container: var myComp:myCustomPanel = new myCustomPanel(); // myCustomPanel is myCustom

[flexcoders] mxlm component instantiation using ActionScript

2010-03-12 Thread normc_actionscript
Is it possible/advisable to add an mxml component to the application by doing this from a Flex container: var myComp:myCustomPanel = new myCustomPanel(); // myCustomPanel is myCustomPanel.mxml containing a Panel container. AddChild(myComp) On creation complete of myCustomPanel.mxml I attempt to