SimpleButton;SimpleButton继承的是MovieClip,所以获取按钮的状态是没有的,假如操作按钮状态失效,就需要修改自己的代码逻辑。
get upState,get overState,get downState,get hitTestState 都返回null;
set upState,set overState,set downState,set hitTestState 都不可设置。
例如:
var btn:SimpleButton = new SimpleButton(_upState, _overState, _downState, _hitTestState);
trace(btn.upState); //Output:null
trace(btn.overState); //Output:null
trace(btn.downState); //Output:null
trace(btn.hitTestState); //Output:null
可参考:http://layaflash.ldc.layabox.com/index.php?m=content&c=index&a=show&catid=6&id=65