Skip to main content
Inspiring
May 27, 2009
Question

TLFTextField reading direction?

  • May 27, 2009
  • 4 replies
  • 2273 views

Hi All,

One of advanced feature of Text Layout Framework is to support bidirectional text. But when i look at TLFTextField, i didn't see there is away to set reading direction? Do you know how to do that? Or we can only do it with textflow ?

Thank for your response,

-Hoang Long

This topic has been closed for replies.

4 replies

Participating Frequently
June 15, 2009

I think the current Mac players can display Arabic correctly but not input it.

Gordon Smith

Adobe Flex SDK Team

Participating Frequently
June 1, 2009

For Spark components such as <s:TextInput> and <s:TextArea> based on TLF, if you set the 'direction' style to "rtl" and the 'textAlign' style to "start", you should be able to enter right-aligned right-to-left Arabic text, with left-to-right text such a numbers or English phrases embedded within the Arabic. If this doesn't work, please let me know. The major problem I'm aware of is that the current Flash Player doesn't support Arabic input on Macintosh. This is being fixed for a future Player release.

Gordon Smith

Adobe Flex SDK Team

June 1, 2009

Thanks Gordon. We'll test that over the coming weeks and let you know if we have any issues.

Steve

texttileAuthor
Inspiring
June 14, 2009

Hi Gordon,

are you saying Arabic text input is not supported in Mac OS ? Does it mean displaying Arabic is also not supported for now?

Thank you for your answer.

-Hoang Long

Participating Frequently
May 28, 2009

I'm afraid that support for a bidirectional text in TLFTextField has been postponed past the Flex 4.0 release due to schedule constraints. If you need bidirectional text, you should use the new Spark components. The current plan is to support bidirectional text in TLFTextField, as well as UI mirroring, in a subsequent dot release.

Gordon Smith

Adobe Flex SDK Team

texttileAuthor
Inspiring
May 28, 2009

Thank you very much

Participating Frequently
May 27, 2009

What do you mean with TLFtextfield? TLFtextfield is a class?

I use TextFlow:

<flow:p direction="rtl">Arabic word</flow:p>

texttileAuthor
Inspiring
May 27, 2009

TLTTextField is still under development. So i am just curious if they implemented the direction feature.

You can see its API here:

  http://livedocs.adobe.com/flex/gumbo/langref/flashx/textLayout/controls/TLFTextField.html

Participating Frequently
May 27, 2009

Hoang,

Please see this discussion thread: http://forums.adobe.com/message/1033879#1033879

I don't know if there has been an update since the last post on that thread.

- Abhishek

(Adobe Systems Inc.)