Skip to main content
Known Participant
Nov 24, 2009 6:50 PM UTC
Answered

Get a reference to char as DisplayObject

Is it posible to get a reference to char as DisplayObject to apply filters like when applying to a DisplayObject?

This topic is closed to new replies. Start a new post to keep the conversation going.
robin_briggsCorrect answer
Adobe Employee
Nov 24, 2009 10:35 PM UTC

Yes. You need for the character to be the only thing in the line, and it will appear by itself in the TextLine (which is a DisplayObject). There a couple of ways to do this. If you are using FTE directly, then set the breakOpportunity in the ElementFormat to ALL, and each character will come out in a separate TextLine. If you are using TLF, then you need to put <br/> between the characters, or put each character in its own paragraph.

Hope this helps,

- robin

1 reply

robin_briggsCorrect answer
Adobe Employee
Nov 24, 2009 10:35 PM UTC

Yes. You need for the character to be the only thing in the line, and it will appear by itself in the TextLine (which is a DisplayObject). There a couple of ways to do this. If you are using FTE directly, then set the breakOpportunity in the ElementFormat to ALL, and each character will come out in a separate TextLine. If you are using TLF, then you need to put <br/> between the characters, or put each character in its own paragraph.

Hope this helps,

- robin

Translate