Hi Piotr,

I may oppose this your opinion:

piotrz wrote
> I don't see any advantage to have this property in MXML. Dynamic component
> is supposed to be created from code new Button(true).

Say I have an external Grid component which has many buttons and TextFields
declared in MXML tag - and I wants to add that external Grid component to
somewhere at runtime. So in the way your opinion, I see the dynamic addition
and component upgrade will going to fail, unless I write every component
addition code in that external Grid component in <fx:Script/> area. 

Secondly, have you tried your fix in "bin-release" version? 

I did a small test by adding a button the way constructor demands it; it
does well in "bin-debug" version though but "bin-release". 

Thanks!



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

Reply via email to