flash on 2011-5-8
♥0 |
Line 15 |
Modified 2011-05-08 00:26:28 |
MIT License
archived:2017-03-20 13:35:54
ActionScript3 source code
/**
* Copyright 9re ( http://wonderfl.net/user/9re )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/Ad3A
*/
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;
var vec:Vector.<Vector.<int>> = new Vector.<Vector.<int>>;
vec.push(Vector.<int>([1,2,3]));
vec.push(Vector.<int>([4,5,6]));
tf.text = vec + '';
tf.width = tf.textWidth + 4;
addChild(tf);
}
}
}