0 Replies Latest reply on Nov 11, 2009 6:09 PM by timo888

    Feature Request with styles


      I would like to be able to do this:


      <mx:Style id="css4MyTextArea">
              .foo {
                  fontSize: 15;
                  color: #9933FF;

               .gizmo{  fontFamily: Lucida Sans Unicode, Tahoma, sans-serif" }





      and then do either this in mxml:


      <mx: TextArea id= "myTextArea"  StyleSheet = "css4MyTextArea" />



      or this in ActionScript:


      var sheet:StyleSheet = new StyleSheet();
      myTextArea.styleSheet = sheet;