I am just trying to understand things a bit better to resolve a small 
issue I am having with a component.

When I step through the creation of a component in mxml I can see 
that during createComponentFromDescriptor there is a loop where all 
the properties declared as attributes in the mxml are being set.

However one attribute that is declared as being bound to a form 
variable is not getting set during the loop.

Are bound attributes set a later stage? 
I have run as far as initializationComplete and the property is still 
not set although the form variable it is bound to does have a valid a 
value at this point, so I am wondering whether the bound attributes 
only get initialised during the first validation cycle which happens 
after initializationComplete?

The issue I am having is I execute some code in initComplete and it 
fails as the property has not been set I think because of the above.
I have sort of assumed that when init is complete my component will 
have been "initialised" but maybe it is not really fully initialised 
until later.

tks






Reply via email to