1 Reply Latest reply on Apr 12, 2010 5:53 AM by archemedia

    bindable getter

    hidarikani Level 2

      I have a Bindable getter that returns an ArrayCollection.

       

      [Bindable]
      public function get myArr():ArrayCollection {
           return _myArr;
      }
      
      public function set myArr(value:ArrayCollection):void {
           _myArr = value;
      }
      

       

      from docs:

      "a call to ArrayCollection.addItem(), ArrayCollection.addItemAt(), ArrayCollection.removeItem(), andArrayCollection.removeItemAt() all trigger data binding"

       

      Will the Bindable getter fire some event when I do this?

       

      _myArr.addItem(myItem);