Skip navigation
yaroze
Currently Being Moderated

Bug? TextField stylesheet not populating styles

Sep 2, 2006 5:19 PM

Hi. I've been doing some work with the Textfield class to do some custom HTML parsing.
The problem that I run into is that when I do

text.htmlText = "<span class='style'><P>HTml text</P></span>";

The renderer for flex disregards the style and implements its own
html formatting, thus defeating the point of setting the htmlText variable.

So, essentially none of my styles are even visible to htmlText and they
don't show up... it's the oddest thing.

This is a major bug if there is no other workaround. You should be able
to style htmlText and import your own styles and have the htmltext
actually use them. Any ideas on this?

Best,

Austin

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points