控制影片的倒放。。

[ 2004-06-16 14:26:05 | 发布: N神 ]
字体大小: | |
新建一个空层,将下列代码加入影片的倒数第二帧上即可实现影片先正放到头后自动倒放.切记放在倒数第二帧上其它无需设置.
onEnterFrame = function () {
if (this._currentframe<=this._totalframes) {
gotoAndPlay(newpos);
newpos=_currentframe-1;
updateAfterEvent();

}
if(this._currentframe<2){
delete onEnterFrame;
gotoandplay(1);
}
}


updateAfterEvent();
刷新的作用.使播放更流畅




浏览模式: 阅读全文 | 评论: 2 | 引用: 24 | Toggle Order | 阅读: 3604
1
引用 vivian
[ 2004-06-19 22:13:27 ]
FK的mp3不是有的吗?
引用 N神
[ 2004-06-20 18:22:57 ]
[eek]那个教程我一直没看。。。
1

发表评论
表情
[arrow] [biggrin] [confused] [cool]
[cry] [eek] [evil] [exclaim]
[frown] [idea] [lol] [mad]
[mrgreen] [neutral] [question] [razz]
[redface] [rolleyes] [sad] [smile]
[surprised] [twisted] [wink] [sweat]
打开 UBB 编码
自动识别链接
显示表情
隐藏的评论
用户名:   密码:   注册?
验证码 * 请输入验证码