September 05, 2005
Flash Right To Left

As you might have read before on my blog Flash's text handling for languages that are written from right to left as Arabic or Hebrew is not the state of the art. Unfortunately also in Flash 8 there will be no native support for bidirectional text. So developers that need to support these languages until now had to develop their own text-handling methods.

I was just notified that there is a new attempt to solve this problem: on flashrtl.com Pedram Pourhossein and Farid Arzpeyma offer a free collection of classes that enable you to write both LTR (left-to-right) and RTL (right-to-left) in same text (mixed texts are the most difficult to handle). I didn't test those classes yet, but the examples look good.

Posted at September 05, 2005 06:45 PM | Further reading
Comments

can support arabic?

Posted by: Saeed ashour on September 5, 2005 10:39 PM

Yes , it's supporting all Right to left languages! like Persian, Arabic , Hebrew ,...

Posted by: Farid Arzpeyma on September 6, 2005 01:49 PM

Does anyone has a working example .fla ??
I can't get the RTL converter to work...
Just a piece of example code would be good as well...
Thank you so muh allready
With regards,
Sjoerd

Posted by: Sjoerd on September 6, 2005 02:08 PM

I found a link on the site, but it was not working. The right link is this one:
http://www.flashrtl.com/files/sample.zip

Posted by: Sjoerd on September 8, 2005 03:42 PM

For some reason the sample file doesn't work as well.
I get a message that the class can't be loaded.

The import funtion calls for an unknown class, while I did install the persianclasses.mxp.
Is there an other script needed ? maybe a .as file ??

Hope to hear something on this, any info is wellome.
With regards,


Posted by: Sjoerd on September 9, 2005 01:56 PM

The .mxp installs files with that are case insensitive??? (flash won't use files that are incorrectly cased.) Just change the offending names of the files that the .mxp installs.

They are located in:

PC --> C:\Documents and Settings\~username~\Local Settings\Application Data\Macromedia\~Flash Version~\en\Configuration\Classes\com\persian\TextFormat

MAC --> /Users/~username~/Library/Application Support/Macromedia/~Flash Version~/en/Configuration/Classes/com/persian/TextFormat

...change the case in these names:

Multiline.as --> MultiLine.as
Nextline.as --> NextLine.as

Voila! it now compiles!

I can't get Hebrew to work properly, though. Any tips/pointers?

Posted by: buttreygoodness on September 23, 2005 11:48 PM

Very good site. You are doing great job. Please Keep it up….!

Posted by: Kamery cyfrowe on December 29, 2005 05:11 PM
Post a comment
Name:


Email Address:


URL:


Comments:


Remember info?



Thank you!

Most Visited Entries
Sketches, Works & Source Code
Lectures
Contact
Backlog
In Love with
Powered by
Movable Type 2.661

© Copyright Mario Klingemann

Syndicate this site:
RSS 1.0 - RSS 2.0

Quasimondo @ flickr
Quasimondo @ LinkedIn
Quasimondo @ Twitter
Quasimondo @ Facebook
Quasimondo @ MySpace
Quasimondo is a Bright
Citizen of the TRansnational Republic
My other blog in german
Impressum


My family name is written Klingemann,
not Klingelmann, Klingeman, Klingaman, Kingemann,
Kindermann, Killingaman, Klingman, Klingmann, Klingonman
Klingemman, Cleangerman, Klingerman or Kleangerman

profile for Quasimondo at Stack Overflow, Q&A for professional and enthusiast programmers