2 Replies Latest reply on Jan 22, 2010 3:49 AM by Francisc

    Binding Static vars

    Francisc Level 3



      I have a class that contains some public static vars. (e.g. public static var meow:String="Test";).


      1. How do I reference that in another class.

      2. How do I make that bindable.


      What I used as failed was placing [Bindable] in front of it and in front of the class var defined in the other class:


      [Bindable] private var test:MyClass=new MyClass();


      trace(test.meow); doesn't work.


      Thank you!