A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Problem creating curved Arabic text at runtime with as3

  1. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    2

    Question Problem creating curved Arabic text at runtime with as3

    I need to create curved Arabic text which can be change at runtime by input from Text Field. Currently I am using Text2Curve AS3 component. It works fine with Latin symbols, but I have several problems with it when it come to Arabic text:
    • First problem is that Arabic letters comes in four different forms: end, middle, beginning and isolated. But Text2Curve AS3 component shows them the same.

    • Second problem is that Arabic text shouldn't have any gaps between letters. But in component you can only set one letter spacing for all symbols. So some of the symbols overlap, while other have gaps between them.

    • Third problem is that Arabic text is written from right to left, but Text2Curve AS3 component only supports left to right. (I solved it partially by reversing input string)


    If someone have had similar problem, or know better component/library (paid or free), or can event create one please let me know. Also I am working with Adobe Flash Professional CS 5.5 and I don't speak Arabic. So it is quite hard for me to check if Arabic text is good or not. Thank you in advance.

  2. #2
    Registered User
    Join Date
    Sep 2011
    Posts
    2

    Question Problem creating curved Arabic text at runtime with as3

    I need to create curved Arabic text which can be change at runtime by input from Text Field. Currently I am using Text2Curve AS3 component. It works fine with Latin symbols, but I have several problems with it when it come to Arabic text:
    • First problem is that Arabic letters comes in four different forms: end, middle, beginning and isolated. But Text2Curve AS3 component shows them the same.
    • Second problem is that Arabic text shouldn't have any gaps between letters. But in component you can only set one letter spacing for all symbols. So some of the symbols overlap, while other have gaps between them.
    • Third problem is that Arabic text is written from right to left, but Text2Curve AS3 component only supports left to right. (I solved it partially by reversing input string)
    If someone have had similar problem, or know better component/library (paid or free), or can event create one please let me know. Also I am working with Adobe Flash Professional CS 5.5 and I don't speak Arabic. So it is quite hard for me to check if Arabic text is good or not. Thank you in advance.

  3. #3
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    Check if this helps you:
    http://flashscript.biz/Flash10/curve...urvedtext.html

    You can easily change the script.
    - The right of the People to create Flash movies shall not be infringed. -

  4. #4
    Junior Member
    Join Date
    Dec 2005
    Location
    Egypt
    Posts
    11
    You can also check this for dynamically displaying bidirectional Arabic:

    http://www.arabicode.com/flarabyas3/main

    a pure Actionscript SWC component that works in Adobe Flash, Adobe Flex and Adobe Air and enables rendering bidirectional Arabic and English text.

    Its advantage over TLF is that it's very light (~13K) which makes it suitable for mobile development.
    There is no god but Allah
    Shagarah

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center