一个小函数,方便用来打印变量:
function alert(s:String) {
import mx.controls.Alert;
Alert.show(s);
}
这样调用
_level0.alert("Hello World!");
转载于:https://www.cnblogs.com/luoluo/archive/2007/11/15/959853.html
转载于:https://www.cnblogs.com/luoluo/archive/2007/11/15/959853.html