坚持 var ani:Animator = hero.getComponent(Animator) as Animator;ani.on(Event.COMPLETE,this,onAniComplete,[ani]);官方例子里这样写.但编辑器和运行都报错显示没on的方法