I need to programmatically determine if a component has dispatched
FlexEvent.CREATION_COMPLETE so that I know it has finished being
created as well as all of it's children.
I don't see a "creationCompleted" property, is there some other way to
tell? I know I can listen for the event I am wondering if there is
some other way to tell that it had already happened. So I can have
logic similar:
if ( comp.creationCompleted )
{
// do stuff to a child
comp.fooView.fooButton.addEventListener(...);
}
else
{
comp.addEventListener(FlexEvent.CREATION_COMPLETE, handleCreation);
}