3 Replies Latest reply on Jan 14, 2010 6:59 AM by kiran7881

    Why is it necessary to use Bindable Tag

    kiran7881 Level 1

      Hello i am working with some simple DataBinding concepts .

       

      i have defined a Combobox

       


          <mx:ComboBox id="FirstCombobx"
                      dataProvider="{asArray1}">
          </mx:ComboBox>

       


      To provide it data i am using an Array

       

      public var asArray1:Array = ['state1','state2','state3'];

       


      This is working fine , i mean it shows data on to the combobox , now please tell me why it is necessary , to use Bindable Tag with Array .

       

                  [Bindable]
                  public var asArray1:Array = ['state1','state2','state3'];

       

      Thanks in advance .