7 Replies Latest reply on Sep 3, 2010 10:45 AM by krafttimd

    Any easy way to execute function when a [bindable] property changes?

    jexer

      Say i have a [Bindable] property

       

      [Bindable] public var myText:String;

       

      Is there some easy way to trigger a function when myText changes?

       

      I understand that Bindable metadata tag adds setter and getter functions and some propertyChanged-event or something, so can i like just use ".addEventListener(Event, myFunction)" somewhere or something similar to execute myFunction?