Skip to main content
Inspiring
August 3, 2008
Question

Arabic text running the wrong way

  • August 3, 2008
  • 1 reply
  • 562 views
I need to place a series of words, in Arabic, in an array. When I copy the words from the original text document to the script window, the order of the letters reverses from right-to-left to left-to-right, so basically all the Arabic is being written backwards in Flash. Could anyone give me some guidance on how to deal with this? Many thanks in advance.
This topic has been closed for replies.

1 reply

bhnhAuthor
Inspiring
August 10, 2008
Just as a follow-up, here (why didn't I think of this earlier?) is how to reverse the letter order of a word using ActionScript only: (1)Convert the word string to an array. (2)Reverse the array. (3)Convert the array back to a string.