保留原著,并且问题被回答或审核通过时通知你:
用 is 运算符。例如: var m:int = 44; var bool:Boolean = m is int; trace( bool ); // 输出 true - 作者:SWFAQ | http://swfaq.org