flash on 2012-6-15
♥0 |
Line 17 |
Modified 2012-06-15 00:27:35 |
MIT License
archived:2017-03-20 07:39:39
ActionScript3 source code
/**
* Copyright divillysausages ( http://wonderfl.net/user/divillysausages )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/dorl
*/
package {
import flash.display.AVM1Movie;
import flash.display.Sprite;
import flash.text.TextField;
import flash.text.TextFieldAutoSize;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
var v:Vector.<int> = new <int>[3];
/*v[0] = 0;
v[1] = 1;
v[2] = 2;*/AVM1Movie
var t:TextField = new TextField;
t.autoSize = TextFieldAutoSize.LEFT;
t.text = "Vec: " + v;
this.addChild( t );
trace( v );
}
}
}