Skip to main content
Inspiring
May 28, 2009
Question

TextInput - bidirection

  • May 28, 2009
  • 1 reply
  • 608 views

Hi All,

I don't know if TLF also provides a component similar to TextInput but supports bidirectional reading.

I am immagining the case of Right to Left reading like Arabic language, the cursor should be focus on the right, and when we type, it goes from right to left. Do you have any suggestion if i need to develop this type of input text?

Thank you for your response,

-Hoang Long

This topic has been closed for replies.

1 reply

Participating Frequently
May 29, 2009

Yes, FTE and TLF were designed to support bidirectional text: left-to-right, right-to-left, left-to-right-within-right-to-left-within-left-to-right, etc. TLF has a format called 'direction' that determines the primary directionality of the text, which can be set to "ltr" or "rtl".

If you want to experiment with TLF by itself, I suggest starting with the TextContainerManager. If you want to experiment with Flex 4, try the new Spark components like spark.components.TextInput and spark.components.TextArea, which use TextContainerManager to manage their text.

I believe, however, that the currently available Player does not properly support Arabic input on Macintosh. This is being fixed for a future release of the Player.