Flash中如何用AS实现帧反播 |
| 作者:佚名 来源:闪吧 作者: starchenzhi 更新:2007-1-13 20:47:37 错误报告 我要投稿 |
用AS实现帧反向播入 以下是源码:
MovieClip.prototype.backward = function() { this.gotoAndStop(this._totalframes); this.onEnterFrame = function() { this.gotoAndStop(this._currentframe-1); if (this._currentframe == 1) { delete this.onEnterFrame; } }; };
|
|
| 文章录入:skyuu 责任编辑:skyuu |
|
| 【字体:小 大】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |