[flexcoders] Re: Binding using as3

2013-01-31 Thread aceoohay
Paul, Thanks for the links. I looked at them, and followed their links, but everything seemed to point to two complex objects. What I have is a simple object, a string, that when it is updated, I need the new value to be pushed to the property of a complex object, a custom textinput

[flexcoders] Re: Binding using as3

2013-01-31 Thread aceoohay
Paul, BTW I did try BindingUtils.bindProperty(vtiA,x,this,_y); and it did not seem to work for me. It recognized _y as it required that I change it to a public variable. --- In flexcoders@yahoogroups.com, Paul A. wrote: On 30/01/2013 23:17, aceoohay wrote: I have customized textinput

Re: [flexcoders] Re: Binding using as3

2013-01-31 Thread Paul A.
On 31/01/2013 15:13, aceoohay wrote: Paul, BTW I did try BindingUtils.bindProperty(vtiA,x,this,_y); and it did not seem to work for me. It recognized _y as it required that I change it to a public variable. I was suprised that you were binding a private variable - that only makes sense if

Re: [flexcoders] Re: Binding using as3

2013-01-31 Thread Alex Harui
It will be faster if you just hand-code the equivalent of: [Bindable] private var _y:int as: private var __y; private function get _y():int { return __y; } private function set _y(value:int):void { if (value != __y) { __y = value;