본문 바로가기
  • 오직 예수 그리스도
스위시세상/스위시 고급

낙옆속gif.

by 어린양01 2011. 5. 23.

 

 

★낙옆속에 gif
1.movie 크기 
Properties 패널-Movie Properties...-width(700), Height(500), Background color(검정) 
Background 이미지 넣고
2.mask만들기
1).낙옆 이미지를넣고 pen tool로   shape 를 따낸다 
 원이미지와 shape 를 group as shape "예"
 Fill..에서 none-image 
 un group하고 아래 이미지는 지운다 
  solid 로 환원  크기:적당히 고치고
 movie clipg하고이름을 "mask"
2).그동안 모아놓았던 gif 를 5장정도 입력 낙옆 shape 에맞게 크기를 조절
3).모두 movie clip  이름을 "img"
img 를 풀고 밑부터 1F에place 3F에 remove 복사 계단식으로 긑에는 place 만
img 에2F.4F.6F... stop
4).mask와 img 를 movie clip  이름을 "main" 마스크책크
5).버튼 Next 를만드고 script 에
  on (press) {
    main.mask.gotoAndPlay(1);
    main.img.nextFrameAndPlay();
}
3.음악 넣기
1).화면에 노래제목(용량 관계로 몇곡만..)예:그네~옛동산에 올라... Stop .
2).모두  movie clip  이름을 "music button"
3).out line 에서 
 insert-import! sound-제목과같은 음악 넣기 예:그네~옛동산에 올라
 모두를 comvert to  movie clip
4).모두  movie clip  이름을 "kkk" (필히script때문에)
 kkk를열고 밑부터 2F에place 4F에 remove 복사 계단식으로 긑에는 place 만
5).music button를 열고
제일 밑 제목에 script에
on (release) {
    _parent.kkk.gotoAndPlay(2);
}
복사- 위제목에 붙이고 frame 를 4.6.8..로  stop 에는 1로둔다
6)..music button  script에

onSelfEvent (enterFrame) {
    duration= this.ruru.duration/1000;
    total   = this.ruru.getBytesTotal();
    elapsed = this.ruru.position/1000;
    loaded  = this.ruru.getBytesLoaded();
    percentLoaded = (loaded>0&&total>0)?loaded/total:0;
    percentPlayed = (elapsed>0&&duration>0)?elapsed/duration:0;
    if (duration>0&&elapsed>=duration) {
       this.play();
    }
}
(루루 script 같네요)
	 	
							
				

'스위시세상 > 스위시 고급' 카테고리의 다른 글

사각음각도장  (0) 2011.05.23
붓글씨와인장  (0) 2011.05.23
a3-21(란)  (0) 2011.05.22
겨울나그네.  (0) 2011.05.21
그리움은 안개처럼  (0) 2011.05.21