put this <ns1:myCom myParam="{inputField.text}"/>
if your setter is right it may work
Sajid
________________________________
From: aceoohay <[email protected]>
To: [email protected]
Sent: Wed, July 28, 2010 10:59:42 AM
Subject: [flexcoders] setter not setting
I have a custom component that I have defined a parameter (setter) to allow a
value to be passed in. Using mxml I associate a another fields text property to
the custom component's parameter. For example;
<mx:TextInput id="inputField"/>
<ns1:myCom myParam="inputField.text"/>
My problem is that when I change the value on the screen of "inputField" the
setter in "myCom" seems to fire before the ".text" attribute gets set to the
new
value.
I am trying further troubleshooting, but if anyone has any ideas I'd sure
appreciate it.
Paul