高级会员
查看详细资料
TOP
红烧脚丫 荣誉管理团队
查看个人网站
谢谢,可以给出onClipEvent 的具体参数设置吗?我该如何来判断每一祯的鼠标位置呢?
新手上路
银牌会员
中级会员
btn.onRollOver = function() { this.onEnterFrame = function() { this.gotoAndStop(this._currentframe += 10); if (this._currentframe>=20) { delete this.onEnterFrame; } }; }; btn.onRollOut = function() { this.onEnterFrame = function() { this.gotoAndStop(this._currentframe -= 1); if (this._currentframe<=1) { delete this.onEnterFrame; } }; };