flash on 2013-11-17
♥0 |
Line 14 |
Modified 2013-11-17 13:30:20 |
MIT License
archived:2017-03-20 17:39:56
ActionScript3 source code
/**
* Copyright mwelsh ( http://wonderfl.net/user/mwelsh )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/wFLg
*/
package {
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
var a:int = 0x7fffffff;
var b:int = a+2;
var tf:TextField = new TextField();
addChild(tf);
tf.autoSize = flash.text.TextFieldAutoSize.LEFT;
tf.text = ((a+2)|0).toString() + "\n" + b;
}
}
}