dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Writing arabic text in flash and making it rotation ?

  1. #1
    Flash Genie letschillout's Avatar
    Join Date
    Feb 2007
    Location
    31.52949, 74.347272
    Posts
    146

    Writing arabic text in flash and making it rotation ?

    Hi,
    Writing Arabic text in flash and making it rotation ?
    so guys any help?

    I am using FLASH CS3

    1)using dynamic arabic text
    2)specific font embed in swf
    3)text is tilt or rotation (8)
    4)arabic text starts from right to left(opps eng)

    ------------------------
    loading dynamic text i.e.
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, loadXML);

    loader.load(new URLRequest("data.xml"));
    function loadXML(e:Event):void
    {
    myText.htmlText = new XML(e.target.data);
    };

    codes i.e.
    embed font which is not working
    [Embed(source='/assets/verdanab.ttf', fontName="Font", mimeType="application/x-font-truetype")]

    mytextField.htmlText = '<font face="Font">My text</font>';
    Last edited by letschillout; 01-26-2010 at 10:15 AM.
    Charag - 3D, Flash Games, Animations,
    Website Development & More...


  2. #2
    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

Tags for this Thread

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