2 Replies Latest reply on Mar 25, 2009 1:03 PM by Ansury

    2-way DataBiding

    webvalue Level 1
      I have a variable countryName and I would like to keep its value always equal to a combobox's selectedLabel.

      1. when combobox's selectedLabel is changed, countryName will change
      2. countryName is changed by other means, the combobox's selectedLabel should also change.

      How to do it?

      I tried:
      <mx:Binding source="combobox.selectedLabel" destination="countryName "/>

      but it's not working - when I changed the combobox, countryName is not updated. I made sure countryName is bindable.