var tx3:Laya.Texture = Laya.loader.getRes("test2.png");
var sp3:Laya.Sprite = new Laya.Sprite();
sp3.texture = Laya.Texture.create(tx3,0,0,315,315,134,134,582,582);
sp3.pivot(315/2,315/2);//锚点使用实际裁切后的中心反而是对的,这按理是bug吧
// sp3.pos(Laya.stage.width/2,0);
Laya.stage.addChild(sp3);
Laya.timer.frameLoop(2,null,function()
{
sp3.rotation = sp3.rotation+10;
}
);