# AS3 Wont work :(

**URL:** <https://forum.kirupa.com/t/as3-wont-work/208229>\
**Category:** flash\
**Created:** [November 26, 2006, 5:37pm UTC](https://forum.kirupa.com/t/as3-wont-work/208229 "2006-11-26T17:37:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mad\_man](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mad\_man](https://forum.kirupa.com/u/mad_man)\
**Post date:** [November 26, 2006, 5:37pm UTC](https://forum.kirupa.com/t/as3-wont-work/208229/1 "2006-11-26T17:37:41Z")

</div>

hey,  
I got Flex 2 SDK and I also have Flash Player 9. I got a HelloWorld example from senoculars tutorial over at [http://www.senocular.com/flash/tutorials/as3withmxmlc/](http://www.senocular.com/flash/tutorials/as3withmxmlc/)

```auto
package {
	import flash.display.Sprite;
	import flash.text.TextField;
	
	public class HelloWorld extends Sprite {
		
		public function HelloWorld() {
			var display_txt:TextField = new TextField();
			display_txt.text = "Hello World!";
			addChild(display_txt);
		}
	}
}

```

I saved it in HelloWorld.as and then dragged it over to mxmlc.exe and it created HelloWorld.swf. When I open it up with the player it doesnt show Hello World in the corner. Am I doing something wrong?
