Skip to main content
Known Participant
February 16, 2010
Answered

Property typographicCase value capsAndSmallCaps is out of range

  • February 16, 2010
  • 1 reply
  • 527 views

Hi

      I am using charFormat.typographicCase = TypographicCase.CAPS_AND_SMALL_CAPS;

then i got the execption Property typographicCase value capsAndSmallCaps is out of range

If have any Idea please reply.

Thanks

This topic has been closed for replies.
Correct answer robin_briggs

You need to set it to TLFTypographicCase.CAPS_AND_SMALL_CAPS, not TypographicCase. So instead of using flash.text.engine.TypographicCase, use flashx.textLayout.formats.TLFTypographicCase. That should work.

- robin

1 reply

robin_briggsCorrect answer
Adobe Employee
February 16, 2010

You need to set it to TLFTypographicCase.CAPS_AND_SMALL_CAPS, not TypographicCase. So instead of using flash.text.engine.TypographicCase, use flashx.textLayout.formats.TLFTypographicCase. That should work.

- robin

Known Participant
February 17, 2010

Thanks Robin

              It is  TLFTypographicCase.CAPS_TO_SMALL_CAPS not TLFTypographicCase.CAPS_AND_SMALL_CAPS