`

第一个居于as 的hello world程序

阅读更多

package
{
	import flash.display.Sprite;
	import flash.text.*;
	
	public class ASProject extends Sprite
	{
		public function ASProject()
		{
			var mytext:TextField=new TextField();
			mytext.text="helloworld";
			addChild(mytext);
		}
	}
}


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics