--- In [email protected], Sherif Abdou <[EMAIL PROTECTED]> wrote:
>
> can you post a little example. I think it may have to do with one
of them not implementing the IEventDispatcher Class so your not
getting the other way binding.
>
> ----- Original Message ----
> From: Amy <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Friday, March 21, 2008 10:25:37 AM
> Subject: [flexcoders] Detecting data binding programmatically
>
> Hi, all;
>
> I have a set of textInput boxes that bind perfectly in both
directions
> to the object properties they are setting/displaying, but my
Checkboxes
> only appear to have a one way binding for some reason (the value of
the
> object affects the check box, but the value of the check box does
not
> affect the object property).
It actually looks like my objects the text properties were binding to
weren't going the other way either, but because my validation logic
was looking at the property of the control and I thought it was
looking at the property of the object, everything looked fine. But
my question still stands, if I have
<mx:CheckBox label="Designers" id="designAud"
selected="{presentation.audience.target.isDesigner}"
change="myChangeEvent(event)"/>
is there any way within myChangeEvent() to look at
event.currentTarget and find out that selected is bound to
presentation.audience.target.isDesigner?
Thanks;
Amy