摘要:
判断对象是不是数组可以用var arr:Array = [];trace(arr is Array);//truevar vec:Vector. = new Vector.();trace(vec is Vector.);//true但是如果Vector.该怎么判断这个东西是不是Vector呢tra... 阅读全文
摘要:
var tf:TextFlow;var len:int = tf.numChildren;for (var i:int = 0; i < len; i += 1){ tf.removeChildAt(0);}tf.flowComposer.composeToPosition();tf.flowCo... 阅读全文