flash on 2009-9-20

by TmskSt
2009/09/20 22:41@呼び出せた
♥0 | Line 17 | Modified 2009-09-20 22:41:27 | MIT License
play

ActionScript3 source code

/**
 * Copyright TmskSt ( http://wonderfl.net/user/TmskSt )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/8M0a
 */

//2009/09/20 22:41@呼び出せた
package {
	import flash.display.Sprite;
	import flash.text.TextField;
	import __AS3__.vec.Vector;
	import Function;
	public class FlashTest extends Sprite {
		private var tf:TextField = new TextField();
		private var V:Vector.<Function>;
		public function FlashTest() {
    			V = new Vector.<Function>();
    			V[0] = function ():void {tf.text = "Hello";};

			tf.text = "World";
			stage.addChild(tf);
			V[0].call();
		}
	}
}