Think
08-19-2009, 07:51 PM
So i am using data binding by defining a variable like this:
[Bindable] public var myVar:Boolean;
and then binding it to another boolean using BindingUtils.BindProperty();
what I want to do is change myVar, and then on the very next line make a function call into a different class that uses the variable that myVar is bound to.
this seems to be working fine but as I understand it, binding in flex uses events, so is it possible that I can use the variable in the other class before the binding has had time to take effect?
Thanks, Think
[Bindable] public var myVar:Boolean;
and then binding it to another boolean using BindingUtils.BindProperty();
what I want to do is change myVar, and then on the very next line make a function call into a different class that uses the variable that myVar is bound to.
this seems to be working fine but as I understand it, binding in flex uses events, so is it possible that I can use the variable in the other class before the binding has had time to take effect?
Thanks, Think