MenuItemImage怎么绑定事件

for(var i=0;i<10;i++){
this.startItem* = new cc.MenuItemImage(
res.gk,
res.gk,
function(){
//这里是每个按钮对应的场景,场景写好了,参数要怎么传呢
}
);

     this.startItem*.attr(
          {
            x:gk_pos*,
            y:gk_pos*,
            id:i+1,
            anchorX :0.5,
            anchorY :0.5
          }
      );

this.menu = new cc.Menu(this.startItem);
传i都是最后一个场景,事件绑定不会写啊。求救~
怎么给每个startItem****

startItem是个数组,数组标识被屏蔽了