|
-
Flash Genie
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...
-
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.
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|