获取一个按钮以在时间轴中随机播放

Getting a button to shuffle through the timeline

如何使用 actionscript 3 使播放头连续浏览包含 4 帧对象的时间轴

  1. 确保每一帧都有一个关键帧。
  2. 框架一:添加此脚本
stop();
yourButtonName.addEventListener(MouseEvent.CLICK, goToNextFrame);
function goToNextFrame(e:Event):void {
   nextFrame();
}