txt_array = ["欢", "迎", "来", "到", "夜","真","美"];
for (j=0; j<5; j++) {
_mc.duplicateMovieClip("_mc"+j, j+100);
this["_mc"+j]._txt.text = txt_array[j];
this["_mc"+j]._txt.autoSize = true;
this["_mc"+j]._txt.selectable = false;
this["_mc"+j].vx = this["_mc"+j].vy=0;
}
onEnterFrame = function () {
mcxy(_mc0, _xmouse, _ymouse);
for (j=1; j<5; j++) {
mcxy(this["_mc"+j], this["_mc"+(j-1)]._x, this["_mc"+(j-1)]._y);
}
};
function mcxy(_mc, a, b) {
_mc.vx += (a-_mc._x)*.5;
_mc.vy += (b-_mc._y)*.5;
_mc.vx *= .5;
_mc.vy *= .5;
_mc.vx += 4;
_mc._x += _mc.vx;
_mc._y += _mc.vy;
}
function tab() {
}
function url1() {
System.setClipboard(" http://513405523.qzone.qq.com");
getURL (" http://513405523.qzone.qq.com", "_blank");
}
function url2() {
}
function url3() {
System.setClipboard(" http://513405523.qzone.qq.com/");
getURL (" http://513405523.qzone.qq.com/", "_blank");
}
var expandmenu = new ContextMenu();
expandmenu.hideBuiltInItems();
var $tab1 = new ContextMenuItem("→点击这里进入本人的QQ空间←", url1, true, true, true);
expandmenu.customItems.push($tab1, $tab2, $tab3);
expandmenu.onSelect = menuHandler;
_root.menu = expandmenu;
flash高手的进,帮忙看看这语法哪里出问题了?在线等啊速度
答案:1 悬赏:10 手机版
解决时间 2021-05-13 11:12
- 提问者网友:轻浮
- 2021-05-13 06:28
最佳答案
- 五星知识达人网友:千杯敬自由
- 2021-05-13 08:07
var $tab1 = new ContextMenuItem("→点击这里进入本人的QQ空间←", url1, true, true, true);
你看看你的变量声明`
我没看到过变量还可以用特殊符号开头的
我只听到过用_开头的
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯