0
votes

I am trying to combine bold and regular text in a textfield but how do I embed an font family and not just a single style of a font?

See example of how I embedded a font, you can only choose one style: "regular", "bold", "italic" or "bold italic" at once:

alt text

However, when you try to embed the text (via the IDE settings or actionscript) how do you set the font to be the entire family?

alt text

See: family only allows "ArialRegular" and not "Arial", the entire family?

1

1 Answers

3
votes

Embed each part of the family as a separate font and if you are utilizing TextFormat objects, supply the additional startIndex/endIndex parameters to the setTextFormat function call to apply your bold text to a given range of characters. Alternatively, with both variants embedded, use HTML or a StyleSheet to specify each type as appropriate.