Flash5文件导入Flash8中出现的脚本问题

来源:百度知道 编辑:UC知道 时间:2024/05/10 23:27:11
我在中编辑的脚本文件:if(pf){
if(mt){
duplicateMovieClip ("doText", "mt", 100);
mt = false;
tellTarget ("mt") {
_x = ../:x;
_y = ../:y;
_xscale = _yscale= ../:size;
txt = ../:text;
e = ../:eff;
a = ../:alpha;
}
}
else{
n = Number(n)+1;
duplicateMovieClip ("doText", n, n);
tellTarget (n) {
_x = ../:x;
_y = ../:y;
_xscale = _yscale= ../:size;
txt = ../:text;
e = ../:eff;
a = ../:alpha;
}
}
}
else{
sm = "jitrslf";
la = "WQZMmwR";
pf = true;
}
到Flash8中编辑是时提示:
**错误** 场景=场景 1, 图层=action + txt, 帧=5:第 6 行: 运算符 '=' 的后面必须有操作数
_x = ../:x;

**错误** 场景=场景 1, 图层=action + txt, 帧=5:第 7 行: 运算符 '=' 的后面必须有操作数
_y = ../:y;

**错误** 场景=场景 1

if (pf) {
if (mt) {
duplicateMovieClip("doText", "mt", 100);
mt = false;
tellTarget ("mt") {
_x = this.x;
_y = this.y;
_xscale = _yscale=this.size;
txt = this.text;
e = this.eff;
a = this.alpha;
}
} else {
n = Number(n)+1;
duplicateMovieClip("doText", n, n);
tellTarget (n) {
_x = this.x;
_y = this.y;
_xscale = _yscale=this.size;
txt = this.text;
e = this.eff;
a = this.alpha;
}
}
} else {
sm = "jitrslf";
la = "WQZMmwR";
pf = true;
}
出错是因为使用了FLASH8不支持的语法,改成上面那样子就可以了...

你把发布设置里用ActionScript1试一哈呢