Styling TextFieldType.INPUT with a CSS Stylesheet
Wayne Helman on October 23, 2010
1 Comment
One thing that has always bothered me about Flash technologies is the relative lack of support for text layout and HTML. I’ve always thought that if Adobe had paid more attention to laying out text, Flash could have become the de-facto method of content delivery online. Instead, we have to jump through a number of hoops to properly present formated text the way standard HTML does. HTML combined with CSS is a flexible and compact method for a number of reasons and AS3 only supports a limited number of those features. One gapping hole in my opinion is that by default, the TextField class when set to TextFieldType.INPUT can only be styled with TextFormat. All other text can be controlled via CSS and the exception of an INPUT field is simply frustrating. continued…