中身再現 forked from: コードを見せない方法(?)
forked from コードを見せない方法(?) (diff: 25)
HelloWorld!
ActionScript3 source code
/**
* Copyright bkzen ( http://wonderfl.net/user/bkzen )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/pzFZ
*/
// forked from break's コードを見せない方法(?)
//HelloWorld!
package
{
import flash.display.Sprite;
import flash.text.TextField;
import flash.text.TextFieldAutoSize;
/**
* 中身は多分こんな感じ
*/
[SWF (backgroundColor = "0x0", frameRate = "30", width = "465", height = "465")]
public class HelloWorld extends Sprite
{
public function HelloWorld()
{
var txt: TextField;
addChild(txt = new TextField());
txt.text = "HelloWorld";
txt.textColor = 0xFFFFFF;
txt.autoSize = TextFieldAutoSize.LEFT;
txt.x = (465 - txt.textWidth) / 2;
txt.y = (465 - txt.textHeight) / 2;
}
}
}