2 Replies Latest reply on Jun 11, 2009 7:49 AM by apmyhr

    How do I bind static variables?

    apmyhr Level 1

      In ActionScript I tried binding a variable to a static variable of another class:


      var watcher:ChangeWatcher = BindingUtils.bindProperty(this, "dataProvider", StaticClass, "staticVariable");


      The changewatcher will fire on load, but it will not fire at all during run time.  And yes, the static variable has the [Bindable] tag next to it.  I have encountered this issue a couple of times before, and I decided to just go around it.  However, for the sake of clean and efficient code, any help on this matter would be greatly appreciated.