flash on 2010-7-8
♥0 |
Line 13 |
Modified 2010-07-08 15:47:53 |
MIT License
archived:2017-03-30 02:16:23
ActionScript3 source code
/**
* Copyright kihon ( http://wonderfl.net/user/kihon )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/47OL
*/
package {
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
var value:int = 30;
value -= 2 + 5;
var tf:TextField = new TextField();
tf.text = value.toString();
addChild(tf);
}
}
}