본문 바로가기
스위시

[스크랩] 반딧불(?) 날리기

by 일점 2011. 2. 15.

첨부파일 360.swf

 

//

 

 

   

 

   기존의 강좌 액션으로 응용해보았습니다.

 

 

   



  수고하셨습니다^^

 

 

  * 위에 쓰인 액션입니다. 복사 - 붙히기 하세요..

 

 for (a=1; a<50; a++) {
 b = attachMovie("star", "star"+a, a);
 with (b) {
  _x = Math.random()*500;
  _y = Math.random()*200;
  _xscale = Math.random()*60;
  _rotation = Math.random()*360;
  _yscale = _xscale;
  _alpha = Math.random()*100;
 }
}

 

메모 :