Yep, that’s what I’d do.

 


From: [email protected] [mailto:[email protected]] On Behalf Of Tracy Spratt
Sent: Tuesday, June 14, 2005 4:20 PM
To: [email protected]
Subject: RE: [flexcoders] binding to local object - doesn't work

 

I haven’t tried this but maybe you could do:

<mx:Binding source=" txtID.text" destination="myObj.someProp" />

 

Tracy


From: [email protected] [mailto:[email protected]] On Behalf Of Shlomi Cohen
Sent: Tuesday, June 14, 2005 4:56 PM
To: '[email protected]'
Subject: [flexcoders] binding to local object - doesn't work

 

Hi

 

is it possible to bind a control to a local object in both directions ?

 

i did it but the binding only works one way from the object to the control not the other way around - any suggestions ?

 

for example

 

    private var myObj:MyObj;

 

 

    <mx:Text id="txtID" text="{myObj.someProp}"/>

 

 

Thanks

 

Shlomi

 

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

 



Yahoo! Groups Links

Reply via email to