谁有鼠标跟谁代码,提供几款。
答案:1 悬赏:50 手机版
解决时间 2021-08-14 01:50
- 提问者网友:呐年旧曙光
- 2021-08-13 18:04
谁有鼠标跟谁代码,提供几款。
最佳答案
- 五星知识达人网友:神的生死簿
- 2021-08-13 19:04
var disWord = "♡ 刘 远 ♥";
var dConst = 5;
var xConst = 50;
var yConst = 0;
var sConst = 0;
var count = disWord.length;
var i = 0;
while (i < count)
{
if (i == 0)
{
mc0.swapDepths(count - i);
}
else
{
mc0.duplicateMovieClip("mc" + i, count - i);
} // end else if
this["mc" + i]._xscale = this["mc" + i]._yscale = 100 * (1 - sConst + sConst * (1 - i / count));
this["mc" + i]._txt.text = disWord.substr(i, 1);
++i;
} // end while
onEnterFrame = function ()
{
this.mc0._x = this._xmouse;
this.mc0._y = this._ymouse;
for (var _loc2 = 1; _loc2 < count; ++_loc2)
{
var _loc3 = xConst * (1 - sConst + sConst * (1 - _loc2 / count));
var _loc4 = yConst * (1 - sConst + sConst * (1 - _loc2 / count));
this["mc" + _loc2]._x = this["mc" + _loc2]._x + (this["mc" + (_loc2 - 1)]._x + 1.500000E+000 * _loc3 - this["mc" + _loc2]._x) / dConst;
this["mc" + _loc2]._y = this["mc" + _loc2]._y + (this["mc" + (_loc2 - 1)]._y + 1.500000E+000 * _loc4 - this["mc" + _loc2]._y) / dConst;
} // end of for
};
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯