AS2 tween缓动
Posted dt1991
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了AS2 tween缓动相关的知识,希望对你有一定的参考价值。
stopTween.stopTween("_x"); startTween(viewMc["Masked"], "_x", null, now_x, nowIndex * pageWidth, 0.3, true); private function startTween(taget:MovieClip,r:String, math:Function, s:Number, e:Number, t:Number, tf:Boolean) this["tweenDt_" + r] = new Tween(taget, r, math, s, e, t, tf); this["tweenDt_" + r].onMotionFinished = singleCase.createEvent(this, null, iconsMove); private function stopTween(r:String) delete this["tweenDt_" + r].onMotionFinished; this["tweenDt_" + r].stop(); /**缓动属性*/ private static var tweenList:Array = ["_x","_y","_alpha","_xscale","_yscale","_width","_height","_rotation"];
以上是关于AS2 tween缓动的主要内容,如果未能解决你的问题,请参考以下文章