-
Senior Member
Using <b> tags in Html text
Hi, I have a textField set with Times font, embedded the font but the bold text does not display:
Actionscript Code:
myTextField.htmlText = "Regular <b>bold</b> <i>italic</i>"
Displays:
Regular bold italic
however, when I set the Field to use device fonts, it works:
Regular bold italic
Is there a way of getting this to work without using device fonts?
-
-
Senior Member
-
.
Hi,
embed both the regular and bold, as far as i'm aware you need to embed all variations.
my hobby
-
Senior Member
Thanks fruitbeard, I have embedded the variations in the Library. Also I have tried the old trick of having a bold textField offstage
I have attached a sample fla
-
.
Hi,
i didn't have the times font, so substituted them all for arial and it have it displaying Regular bold italic
Last edited by fruitbeard; 06-22-2012 at 09:31 AM.
-
Senior Member
hmm not working for me on a mac. tried changing to Arial
-
.
Hi,
maybe use the attached file of mine, above, same as yours just font altered, also try having completely empty fields first of all
-
Senior Member
Just downloaded your one fruitbeard, it's all in regular. Are you on a PC ?
-
.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|