Skip to main content
Mar 6, 2009 3:57 PM UTC
Question

TextLayoutFormat bug

Setting fmt.fontStyle = FontStyle.REGULAR doesn't work. It is looking for the string "normal" instead of "regular", so this works: fmt.fontStyle = FontWeight.NORMAL.

Attached is sample code:
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Inspiring
Mar 6, 2009 5:31 PM UTC
Valid values for fontStyle are:
flash.text.engine.FontPosture.NORMAL
flash.text.engine.FontPosture.ITALIC

Richard
Translate