function TestUI()
{
var Event = laya.events.Event;
TestUI.super(this);
this.ani1.play(15);//play的第一个参数是从第几帧开始播放
Laya.stage.on(Laya.Event.CLICK,this,onClick);
}
Laya.class(TestUI, "TestUI", TestPageUI);
function onClick()
{
this.ani1.stop();//停止播放
this.ani1.index=30;//index为帧索引,停止到第几帧
}