flash on 2014-7-9
♥0 |
Line 22 |
Modified 2014-07-09 05:13:31 |
MIT License
archived:2017-03-20 10:11:16
ActionScript3 source code
/**
* Copyright and ( http://wonderfl.net/user/and )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/fFLL
*/
package {
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
private var tf:TextField;
public function FlashTest() {
// write as3 code here..
test();
}
private function test():void
{
tf = new TextField();
addChild(tf);
tf.width = 300;
tf.height = 300;
var arr:Array = [];
arr[1] = 1;
trace(arr[0]);
arr[1] = undefined;
tf.text = String(arr[1]);
}
}
}