3 Replies Latest reply on Oct 18, 2009 8:21 AM by _Natasha_

    Can not assign value to class property???


      Can someone please tell me why this does not work... it comes up with a "Access of undefined property myButton."


      public var myButton:Button = new Button;
      myButton.label = 'My Button';


      It makes no sense what so ever to me. Please help.