Hi,
I had a requirement where a variable (ArrayCollection) in a MXML 
should be binded to a variable (ArrayCollection) in the Custom 
Component. So, that means when the variable in MXML changes, the one 
in Custom component should also change and vice versa. I am using 
[Bindable] tag before the declaration of the variable (in both MXML 
and Custom Component). Everything works fine except when the variable 
in the MXML is null and trying to initialize it in the custom 
component, the binding fails.
The binding works fine if I use <mx:Binding> metatag. But I don't want 
to use it as each and every developer should declare this in their 
correspoding MXML's. 

Is there any better way to handle this situation? 
Any help is greatly appreciated.

Thanks,
Madhu

Reply via email to