Skip to main content
Known Participant
August 11, 2009
Question

TLF and arabic text

  • August 11, 2009
  • 2 replies
  • 1956 views

Hello,

I'm using AS3 with CS3 to do some design involving working with dynamic text field for arabic text.

This staetemnt works just fine:

var strValidate_txt.text = "خُرُوجْ"; // a dynamic text field - result  OK

however when I try to build the string characyter by character:

var strValidate_txt.text = "";

strValidate_txt.appendText("خ");

strValidate_txt.appendText("ر");

strValidate_txt.appendText("و");

strValidate_txt.appendText("ج");

the resuslt is a string with dissjointed characters وجرخ

I couldn't find a way to fix this in Flash CS3.  I'm wondering if upgrading the Flash CS4 with the new TFL will solve me this issue?

still need to convince my boss to pay for the upgrade!

Thanks for help

This topic has been closed for replies.

2 replies

Participant
December 26, 2009

AS3 seems to have this issue fixed, I disagree! but Adobe's new TextLayout Framework avaiable on Labs is quite a solution for this ..

In case you're using AS2, then I think that I have a solution for this here:

http://ixd-consultant.com/blog/2009/12/21/arabic-text-in-actionscript-2-0/

not perfect, but it worth a try

Participating Frequently
September 16, 2009

Hi,

I'm working on Flash with Arabic language since 2 years in FAO (http://www.imarkgroup.com) to develop eLearning apps in Flash/Actionscript...before the TLF also.

The new TLF is the best choice, you can test your arabic text using the demo app http://labs.adobe.com/technologies/textlayout/demos/

I suggest you to wait for the release of new Flash Builder 4 with the official version of TLF. Now the TLF is a BetaVersion.