0 Replies Latest reply on Jul 29, 2007 9:58 AM by Orebro

    How do I get data from external CSS to TextArea

      I have tried to use CSS on TextArea component in Actionscript 3.0, but failed to get the data accepted at runtime.
      It works halfway in a correct manner but then I get this message:
      "Error: Error #2009: This method cannot be used on a text field with a style sheet."

      The code I use is this. When executing the last line it fails but the applied changes are correct.

      function dataOK (ev:Event):void {
      var minstyle:StyleSheet = new StyleSheet();



      Which method should I use to do it correctly?