岩井俊二台词:鼠标特效的制作

来源:百度文库 编辑:偶看新闻 时间:2024/04/27 23:46:08
如果你想制作自己的原创鼠标特效,看好我的视频教程,2分种就可学会,超简单的,哈哈,高手不要见笑 ',1)">
http://www.lioujin.com/20010.swf
教程素材在添加中,请大家暂时不要转栽
代码如下,把我的网名跟QQ改为你自己的,记住
function tab1()
{
getURL("http://user.qzone.qq.com/1010601508", "_blank");
} // End of the function
function url1()
{
getURL("http://user.qzone.qq.com/1010601508", "_blank");
} // 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", 6, 0, 0, 50, 50);
aiyi_t.text = t;
aiyi_t.textColor = 800213;
aiyi_t.selectable = false;
} // 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
};
_root.Mouse.hide();
Stage.scaleMode = "noScale";
var expandmenu = new ContextMenu();
expandmenu.hideBuiltInItems();
var $tab1 = new ContextMenuItem("点此进入军人本色的空间", tab1, false);
var $url1 = new ContextMenuItem("http://user.qzone.qq.com/1010601508", url1, true);
expandmenu.customItems.push($tab1, $url1, $url2);
expandmenu.onSelect = menuHandler;
_root.menu = expandmenu;
loadMovieNum;