Skip to main content
Known Participant
Feb 16, 2010 5:26 AM UTC
Answered

Property typographicCase value capsAndSmallCaps is out of range

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 is closed to new replies. Start a new post to keep the conversation going.
robin_briggsCorrect answer
Adobe Employee
Feb 16, 2010 7:17 PM UTC

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

2 replies

robin_briggsCorrect answer
Adobe Employee
Feb 16, 2010 7:17 PM UTC

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

Translate
Known Participant
Feb 17, 2010 4:50 AM UTC

Thanks Robin

              It is  TLFTypographicCase.CAPS_TO_SMALL_CAPS not TLFTypographicCase.CAPS_AND_SMALL_CAPS

Translate