作者:北京家圆医院999 | 来源:互联网 | 2023-08-20 12:10
篇首语:本文由编程笔记#小编为大家整理,主要介绍了ActionScript 3 AS3 gotoAndStop下一帧有循环相关的知识,希望对你有一定的参考价值。
// steps to next frame on the timeline and loops back round to frame 1 when it hits the end
gotoAndStop(currentFrame==totalFrames ? 1 : currentFrame+1);