package{ import flash.display.Sprite; import flash.text.*; public class Main extends Sprite{ public function Main(){ var tfStyle:TextFormat = new TextFormat(); tfStyle.font = "Verdana"; tfStyle.bold = true; tfStyle.size = 12; var tContent:TextField = new TextField(); tContent.setTextFormat(tfStyle); addChild(tContent);
} } }
Related Scripts with Example Source Code in same category :