Skip to main content
Inspiring
May 21, 2009
Question

mapping a textfield and textflow

  • May 21, 2009
  • 1 reply
  • 1022 views

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 has been closed for replies.

1 reply

texttileAuthor
Inspiring
May 21, 2009

or this is the only solution?

texttileAuthor
Inspiring
May 22, 2009

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

Adobe Employee
May 27, 2009

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