Steps:
1. Rightclick emptyspace on the library and select "New Font"
2. Give a name and select your font, dont forget to give export in first frame, and for actionscript.
3.
var myFont = new Font1();
var myFormat:TextFormat = new TextFormat();
myFormat.size = 15;
myFormat.align = TextFormatAlign.CENTER;
myFormat.font = myFont.fontName;
var splashtxt:TextField = new TextField();
splashtxt.defaultTextFormat = myFormat;
splashtxt.embedFonts = true;
splashtxt.antiAliasType = AntiAliasType.ADVANCED;
The above is in ActionScript 3.0 make the relevant conversion to ActionScript 2.0
Hope this helps!
rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239
font1 is the class name you given when you created font from the library
rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239
Instead of bold tag, you just increase the size to 18.
<font color="#CC0000" size="18">History of Aaren Initiative</font>
for now!
rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239