flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem
Date Thu, 02 Mar 2017 15:54:19 GMT

Santanu may be right that there are dynamic MXML scenarios involving
states and includeIn/excludeFrom.  In those cases, the instances are
created by MXMLDataInterpreter just like other MXML tags, but may not be
added to the DOM until much later, or removed and re-added as states

I haven't looked at the code, but are you sure that whatever isDynamic
does can't be run on addedToParent?


On 3/2/17, 5:06 AM, "piotrz" <piotrzarzycki21@gmail.com> wrote:

>Code which you are showing me should work without the problem.
>var tmpComp:Button = new Button(true); - need to be true in constructor.
>	<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.
>Apache Flex PMC
>View this message in context:
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

View raw message