Re: [問題] 影格問題
再問一下~~
如果我在 "影格1" 用attachMovie的方式加入元件
depth=1000;
for(n=0;n<31;n++){
attachMovie("circle","c"+depth,depth);
eval("c"+depth)._x=((num+Number(circle[p])-1)%7)*25+xpos;
eval("c"+depth)._y=Math.floor((num+Number(circle[p])-1)/7)*25+ypos+25;
depth++;
}
我知道在 "影格1" 中寫下面程式可以移除加入的元件(如下:)
for(b=1000;b<1031;b++){
removeMovieClip("c"+b);
}
-----------------------------------------------------------
但這不是我要的效果~
我希望的是:能在 "影格2中" 移除 "影格1" 加入的元件
直接打removeMovieClip好像沒辦法移除
請問~該怎麼做呢??
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.165.6.186
※ 編輯: ransonasd 來自: 118.165.6.186 (08/31 00:14)
→
08/31 01:19, , 1F
08/31 01:19, 1F
→
08/31 01:19, , 2F
08/31 01:19, 2F
→
08/31 01:19, , 3F
08/31 01:19, 3F
→
08/31 01:20, , 4F
08/31 01:20, 4F
→
08/31 02:03, , 5F
08/31 02:03, 5F
討論串 (同標題文章)