Hello Wonderfl World
基礎の基礎きも分ってないのでHelloWorldから始める。
♥0 |
Line 18 |
Modified 2010-12-30 07:05:03 |
MIT License
archived:2017-03-10 17:41:54
ActionScript3 source code
/**
* Copyright tororo_zz ( http://wonderfl.net/user/tororo_zz )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/gJUV
*/
package {
//基礎の基礎きも分ってないのでHelloWorldから始める。
import flash.text.TextField;
import flash.display.Sprite;
public class HelloWorld extends Sprite
{
public var kotoba:String = "Hello Wonderfl"
public var hellText:TextField = new TextField();
public function HelloWorld():void
{
init();
}
public function init():void
{
addChild(hellText);
hellText.text = kotoba;
}
}
}