num*_*l25 12 flash actionscript actionscript-3 flash-cs4
是否可以检查一个类是否有方法?甚至是特定的财产
小智 29
var target:Object;// = some object var name:String;// = some name if(name in target){ // if property/method exists }else{ // if property/method not exists }
归档时间:
15 年,11 月 前
查看次数:
7915 次
最近记录:
14 年,3 月 前