11 Replies Latest reply on May 26, 2009 2:41 PM by Miggl

    How to Assigning Binding Properties in ActionScript?

    Miggl Level 1

      We all know that creating binding properties in MXML is straight-forward:

      <MyComponent
           myProperty="{bindableValue}"
      />
      

       

      How can I do the same using only ActionScript? Following the above example:

      var myComp     :MyComponent     = new MyComponent();
      
      myComp.myProperty = ?????????;
      

       

       

      Thanks!