A Flash Developer Resource Site

Results 1 to 2 of 2

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

Threaded View

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


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