Flash Arabic Support?, a 2005 old reply on developmentnow.com

Original link

http://www.developmentnow.com/g/68_2005_7_0_0_556291/Flash-Arabic-Support-.htm
 
 

Rothrock
7/7/2005 12:00:00 AM
I’ve done quite a bit with another complex script, Devanagari for Hindi. While
not being RTL, it also has a number of interesting problems in Flash.

My solution was to compose my text in an external text editor and save as
unicode (UTF8), then import to Flash using either the XML or LoadVars classes ?
depending upon my purpose for each little part. I’m on a Macintosh, so I use
TextEdit, but my Hindi professor is on a PC and she uses something called
Takhti. So as long as the applications supports unicode it shouldn’t matter
which platform you are on.

As Mohammed points out, Flash doesn’t break the lines properly. I had to write
my own code to do line breaking. I am happy to share it, but will be away from
my home computer for the next two days.

Now one problem I’ve found is that if you embed the fonts in the textfields,
Flash will not properly render the text. The characters will show, but they
will be in the wrong order or placed incorrectly. This is with Hindi and Greek,
but I’m sure it will also apply to Arabic. You will probably just get the
isolated forms for each letter or something like that.

My solution was to not embed the fonts. This requires that the end user has
unicode support and a font installed for the language. Of course between the
Mac and PC there are different fonts with different sizes, etc. You just have
to take that into account when you design your page.

Good luck.
 

  Naveed Attari
7/7/2005 9:51:45 AM
:confused;

I?m facing a very serious problem.
How to write Arabic in flash???? I used some software?s but the problem is
that we are working on a fully flash based dynamic website. But Flash MX
doesn?t support Arabic. Kindly help me what to do?

Naveed
 

  she7ata
7/7/2005 1:41:05 PM
Peace be upon you,

    Yes sir, the Flash doesn’t support Arabic very well, however you still can
write Arabic text using the normal Flash edit box, but remember you still will
face a problem wrapping the text correctly, yes Flash cases error wrapping the Arabic
characters and letters if you write very long string.

What do you have to do to write Arabic?

1) Open Flash, Create a new movie.
2) Use the ‘Text Tool’ and draw a region for your Text.
3) Change the filed type to ‘Dynamic Text’ and NOT ‘Static!’, this is very
important’.
4) Change font type to ‘Traditional Arabic’ which is standard or ‘Arabic
Transparent’ , ‘Arial’ also fine.
5) Change the font direction or the alignment to the right  .
6) Write you text inside the Text box area.
7) Ctr