Skip navigation
Currently Being Moderated

Multiple fonts in a TextField (htmlText)?

Sep 3, 2013 3:56 AM

Tags: #font #flash #as3 #textfield #htmltext

Hey guys

 

Basically, I'm trying to find out if you can use htmlText to use multiple fonts in a single dynamic text field.

 

I have a dynamic text field already on the stage and for some reason adding <i> and </i> to the htmlText string does not make the text contained within the tags italic. Therefore as the regular and italic styles are technically different fonts, I would like to set the font of the required text to be the italic style rather then the regular.

 

E.g. "This string contains an italic word."

 

My question is... is this even possible?

 

Thanks

 
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