Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Find more inspiration, events, and resources on the new Adobe Community
Explore Now