package{ import flash.display.Sprite; import flash.text.*; public class Main extends Sprite{ public function Main(){ var t:TextField = new TextField( ); t.htmlText = '<P ALIGN="RIGHT">hi there</P>'; addChild(t); } } }
Related Scripts with Example Source Code in same category :