新建一个空层,将下列代码加入影片的倒数第二帧上即可实现影片先正放到头后自动倒放.切记放在倒数第二帧上其它无需设置.
onEnterFrame = function () {
if (this._currentframe<=this._totalframes) {
gotoAndPlay(newpos);
newpos=_currentframe-1;
updateAfterEvent();
}
if(this._currentframe<2){
delete onEnterFrame;
gotoandplay(1);
}
}
相关文章:
-
2021-10-02
-
2022-12-23
-
2022-01-26
-
2021-08-21
-
2021-11-27
-
2022-12-23
猜你喜欢
-
2022-12-23
-
2021-05-18
-
2021-07-25
-
2022-12-23
-
2021-06-09
-
2021-06-11
-
2022-12-23
相关资源
-
下载
2023-02-07
-
下载
2021-06-24
-
下载
2022-12-02
-
下载
2021-06-05
-
下载
2023-04-06