Flash语法错误 wire.duplicateMovieClip("w" ad
**错误**场景=场景1,图层=Progran,帧=1:第15行:需要')'或','wire.duplicateMovieClip("w"addn,n+maxwire);...
**错误** 场景=场景 1, 图层=Progran, 帧=1:第 15 行: 需要 ')' 或 ',' wire.duplicateMovieClip("w" add n,n+maxwire); **错误** 场景=场景 1, 图层=Progran, 帧=1:第 16 行: 需要 ')' 或 ',' w[n]=Eval("w" add n); 各位大爷帮忙???????急
展开
1个回答
展开全部
max =8; maxwire =12; fov = 180; rot = 0; roty = 0; cs= new Array(360); sn = new Array(360); for(i=-180;i<=180;i++){ cs[i+180]=Math.cos(i*Math.PI/180); sn[i+180]=Math.sin(i*Math.PI/180); } wire._visible=false; w = new Array(maxwire); for(n=1;n<=maxwire;n++){ wire.duplicateMovieClip("w" + n ,n+maxwire); w[n]=Eval("w" + n); } w[1].p1 = 1; w[2].p2 = 2; w[3].p3 = 3; w[4].p4 = 4; w[5].p5 = 5; w[6].p6 = 6; w[7].p7 = 7; w[8].p8 = 8; w[9].p9 = 9; w[10].p10 = 10; w[11].p11 = 11; w[12].p12 = 12; shadow._visible=false; s = new Array(maxwire); for(n=1;n<=maxwire;n++){ shadow.duplicateMovieClip("s"+ n , n); s[n] = Eval("s" + n); } vert._visible = false; v = new Array(max); sv = new Array(max); for(n=1;n<=max;n++){ vert.duplicateMovieClip("v" +n , n+maxwire*2); v[n] = Eval("v" + n); } 把那些add换成"+"试试 最后试了一下没错
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询