protected function listenBtn(sp:Sprite, btnStr:String, func:Function):void
{
var p:SimpleButton = sp.getChildByName(btnStr) as SimpleButton;
p.addEventListener(MouseEvent.CLICK, func);
}
//sp:当前场景
//btnStr:按钮名
//func:点击的方法
(listenBtn(_content, "skipbtn", onSkin);)