var playTime = 0;//第一帧播放次数s.addFrameScript(0,function () { playTime++;if (playTime < 2){ s.play() }else{//移除s.stage.removeAllChildren();}}) 试试这样?
回答于 2018-08-08 14:00