
首先下载FLASH8软件。进入软件后直接新建文件---调整你想要的大小----然后按F9打开动作面板。输入下面的代码。把代码中的中文(韬董教程)改为你想要的文字(这里的文字就是鼠标跟随文字)---最后导出动画-----上传就可以了。代码是:function CR(obj, item) { } // End of the function aiyi_text = "韬董教程"; aiyi_len = aiyi_text.length; for (n = 0; n < aiyi_len; n++) { _root.createEmptyMovieClip("aiyiT" + n, n); t = aiyi_text.substr(n, 1); with (_root["aiyiT" + n]) { createTextField("aiyi_t",2,0,0,20,20); aiyi_t.text = t; } // End of with } // end of for startDrag (aiyiT0, true); _root.onLoad = function () { speed = 3; }; _root.onEnterFrame = function () { for (aiyi = 1; aiyi <= _root.aiyi_len; aiyi++) { _root["aiyiT" + aiyi]._x = _root["aiyiT" + aiyi]._x + (5 + (_root["aiyiT" + (aiyi - 1)]._x - _root["aiyiT" + aiyi]._x) / speed); _root["aiyiT" + aiyi]._y = _root["aiyiT" + aiyi]._y + (_root["aiyiT" + (aiyi - 1)]._y - _root["aiyiT" + aiyi]._y) / speed; } // end of for };
