random test for SO
♥0 |
Line 15 |
Modified 2017-01-02 04:40:00 |
MIT License
archived:2017-03-20 04:31:15
ActionScript3 source code
/**
* Copyright www0z0k ( http://wonderfl.net/user/www0z0k )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/Maoe
*/
package {
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
var tf:TextField = new TextField();
addChild(tf);
tf.multiline = true;
tf.autoSize = 'left';
for(var i:int = 0; i < 25; i++){
tf.appendText(i + ': ' + Math.random() + '\n');
}
}
}
}