Sankar,

Code which you are showing me should work without the problem.

var tmpComp:Button = new Button(true); - need to be true in constructor.

This:

        <mdl:Button text="Click to add External components"
                                        click="button1_clickHandler(event)" 
accent="true"/>

You don't need any action cause MDL will handle this one.

Piotr



-----
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59983.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to