0 Replies Latest reply on Aug 7, 2006 10:46 AM by Captain Pill

    css apply to dynamic textfield

    Captain Pill
      i try to apply a .css stylesheet to my textField and it work but i dont see the change. there the code

      // load css and load variable
      var cssStyles:TextField.StyleSheet = new TextField.StyleSheet();

      cssStyles.onLoad = function(success:Boolean){
      if (success) {
      this.loadedInfo.StyleSheet = cssStyles;
      }else {
      loadedInfo.text = "There has been an error loading the requested information. Please Contact the Webmaster and report the error.";