On 3/11/2015 10:38 PM, Jake Knerr wrote:
//
To the OP: if you don't want to extend the component, you should be
able to get commitProperties() to fire on a component that has not
been added to the displayList by first calling invalidateProperties()
and then call validateProperties().
*E.G.*
var cmp:UIComponent = new UIComponent();
cmp.invalidateProperties();
cmp.validateProperties();
For the above example, cmp's commitProperties() method will fire even
though the component isn't on the displayList.
Both invalidateProperties() and validateProperties() are required.
Why wouldn't you just call commitProperties() directly?
--
Jeffry Houser
Technical Entrepreneur
http://www.jeffryhouser.com
203-379-0773