Skip to main content
March 6, 2009
Question

TextLayoutFormat bug

  • March 6, 2009
  • 1 reply
  • 397 views
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 has been closed for replies.

1 reply

Adobe Employee
March 6, 2009
Valid values for fontStyle are:
flash.text.engine.FontPosture.NORMAL
flash.text.engine.FontPosture.ITALIC

Richard