Skip to main content
Inspiring
May 21, 2009 3:38 PM UTC
Question

mapping a textfield and textflow

Hi to all,

I am trying to make my flex application to support Arabic language.

To do that, i have to create one textflow for each TextField that i used in my application. And the TextFlow will replace the position of textfield on the display. It seems a very bad idea because i have doubled everything. Do you have other workarounds ?

Thank you for your response,

-Hoang Long

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

texttileAuthor
Inspiring
May 21, 2009 3:42 PM UTC

or this is the only solution?

Translate
texttileAuthor
Inspiring
May 22, 2009 1:10 PM UTC

if this is the way,,then i think Text Layout Framework is about to replace TextField shortly

Translate
Adobe Employee
May 27, 2009 4:56 PM UTC

It may be that for you the easiest way to do the replacement is to use TextContainerManager where you were using TextField before. TextField is a DisplayObject, and TextContainerManager only manages a display object, so you will need to create a container and pass it in. Using TextFlow directly, and passing in a container will also work.

Note that if you are using embedded fonts, text using TLF uses a different form of embedded fonts than TextField. So if you are using the same font in both, you end up having to embed it twice if you have a mix of TLF and TextField in your SWF.

I hope this helps!

- robin

Translate