Skip to main content
Known Participant
November 24, 2009
Answered

Get a reference to char as DisplayObject

  • November 24, 2009
  • 1 reply
  • 337 views

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

This topic has been closed for replies.
Correct answer robin_briggs

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
November 24, 2009

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