flash on 2010-11-7
♥0 |
Line 20 |
Modified 2010-11-07 17:41:51 |
MIT License
archived:2017-03-20 05:36:02
ActionScript3 source code
/**
* Copyright enecre ( http://wonderfl.net/user/enecre )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/wyf4
*/
package {
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
private var tf:TextField = new TextField();
public function FlashTest() {
// write as3 code here..
tf.width = tf.height = 465;
addChild(tf);
var arr1:Array = [1,2,3,4];
var arr2:Array = [9,8,7];
tr(arr1);
arr1.push(arr2);
tr(arr1[5]);
}
private function tr(...o:Array):void{
tf.appendText(o + "\n");
tf.scrollV = tf.maxScrollV;
}
}
}