scene.addEventListener(Event.ADDED_TO_STAGE, function():void {
	scene.removeEventListener(Event.ADDED_TO_STAGE, arguments.callee);
	scene.onEnable();
});

 

arguments.callee 返回当前函数的引用

posted on 2017-04-05 16:10  gamedaybyday  阅读(399)  评论(0编辑  收藏  举报