2009-11-10 2 views

답변

2

라이브러리에서 Linkage (th mc에서 마우스 오른쪽 버튼으로 클릭)를 지정하고 Actionscript로 내보내기를 선택하고 이름 (예 : myMovieClip)을 설정해야합니다. 이 이름은 attachMovie 메소드에서 사용됩니다.

this.attachMovie('myMovieClip', 'myMovieClipNewName', depth); 

this.removeMovieClip('myMovieClipNewName'); 

chaus

-1
depth = 1; 
while(depth<100){ 
this.attachMovie('bullet','bullet' + depth,depth); 
this["bullet" + depth]._x = random(550); 
this["bullet" + depth]._y = random(400); 
depth++;} 

// 화면에 무작위로 100 개 총알을 만들 수

관련 문제