Hi all
i developed a solution for loading and embedding non english text in flash for any language arabic kordish asian, and so on, this tip in ActionScript 3.0 (AS3), but you can do similar in ActionScript 2.0 (AS2)
i tried many times to embad Arabic text,
finally i got the way
Code:
var myText:TextField = new TextField()
myText.text = "now i will try to embed arabic font or Kordish, as you wish بسم الله الرحمن الرحيم ، الان ستأحاول عمل إظهار اللغة العربية أو الكردية";
var myTextFormat:TextFormat = new TextFormat();
myText.width = 400; // it's optional you can set any width
myText.height = 300; // it's optional: you can set any height
myText.wordWrap = true;
myText.multiline = true;
addChild(myText)
myTextFormat.align = TextFormatAlign.RIGHT;
myText.setTextFormat(myTextFormat);
other options you man use
myFormat.size = 20; //or any size
myText.textColor = 0xFF0000; // it will make text red, note the effect here is for myText not myTextFormat;
you can try also :
myText.autoSize = TextFieldAutoSize.RIGHT ; but maybe it will not work well with the code setTextFormat
i hope it will work with you ,
if it don't work try to copy the code and bast it flash
Note : it's AS3 not AS2, but it will gives you a good idea for what you can do
Note also and very important,
you don't need to make any character embidding
Forex Video Tutorial : Place a Trade
Learn how to enter and exit the market quickly and efficiently with automated click and deal trading. This video tutorial will also show FOREXTrader's advanced position management capabilities.
Length: 1:02 minutes
Forex Video Tutorial : Associated Orders
Learn how to attach an associated limit and stop loss order to an open position.
Length: 1:48 minutes
Forex Video Tutorial : Point & Shoot
The Point & Shoot tool enables you to drill down into a position to view and close any individual trade that is part of your overall position in any currency pair. Learn more about the Point & Shoot feature by watching this tutorial.
Length: 00:57 seconds
Forex Video Tutorial : Forex Insider
Learn how to quickly access FOREXInsider, live market commentary written by our senior traders and members of our research team.
Length: 00:45 seconds
Forex Video Turorial : Customize Layouts
FOREXTrader is fully customizable. Learn how to create your own layout or select from our predefined layouts, geared specifically to popular trading styles.
Length: 1:08 minutes
Forex Video Tutorial : FOREXTrader Platform Tour
Designed for active traders looking for an edge, this Windows-based platform offers a rich user interface in a highly customizable trading environment for maximum performance. Watch the demonstration of all the tools and resources available on the trading platform.