package{ import flash.display.Sprite; import flash.text.*; public class Main extends Sprite{ public function Main(){ var txt:TextField = new TextField(); txt.htmlText = '<img src="Movie.swf" id=" textMovie" width="100" height="100" /> some text around our image'; addChild(txt); } } }
Related Scripts with Example Source Code in same category :