flash on 2013-11-22
♥0 |
Line 15 |
Modified 2013-11-22 14:26:15 |
MIT License
archived:2017-03-30 02:42:23
ActionScript3 source code
/**
* Copyright tepe ( http://wonderfl.net/user/tepe )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/grvv
*/
package {
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
private var t:TextField = new TextField();
public function FlashTest() {
// write as3 code here..
addChild(t);
t.width=300;
//t.text = "aa";
var n:Number = Math.pow(2,1.2);
t.text += n.toString()+"\n";
n = Math.pow(2,2);
t.text += n.toString()+"\n";
}
}
}