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

[스크랩] 로드무비 만들기

by 어린양01 2010. 1. 19.

 

로드무비 만들기

1.무비사이즈를 750 * 550 Backgrond Color는 컴은색으로 보기좋게 라인을
하나그려 주면 더 좋다 적당히 무비창을 만드세요 바탕 이미지를 넣어도됌

2 버튼을 만들어줍시다 이름을 "영상 1" 혹은 "작품1" 이름을 정하고
불러올 수 만큼 버튼을 만든다 저는 작품1,작품2...로 할께요
불러올 작품 작품1 작품2 작품3... 아웃라인에서 사각형shape와 text(작품)을
Group as shape로 묶으시면 shape가 3개 되겠습니다
Grouping -Group as Button 하고 이름을 1,2,3,... 로하고

3 버튼에 효과줄 차례
버튼을 1,2,3,으로 했지요
아웃라인에서 버튼1선택하고 Add script-Events-button-on(press)
Add script-Movie contron-gotoAnd play-gotoAndplay
위에 Goto Lable을 선택하고 작업창에 _1 (_밑줄1)을 써 준다
다음버튼2,3,도 같은 방법으로 하세요 그리고 Lable에만 _2,_3으로 고침

3. inset클릭하고 빈 movie clip을 영상 만들만큼 불러온다 이름을 s1,s2,s3,...라고
아웃라인에서 s1 선택 script 창으로가서 Add script-Events-Frame-onFrame(,,)하고
()속에 1을 쓰고 Add script-Externat files and sate- Load/unloadspeite-loadmovie
클릭하여 아래 URL:작품 주소를 적어 준다
다시 Add script-Events-Frame-onFrame(..)괄호속에 5를 쓰시고
Add script-movie control-stop() 주고

4. 이렇게 될것입니다
onFrame(1){
loadMovie(" 작품 주소 swf")
}
onFrame(5){
stop(); }...............이렇게 됐으면 성공


5.S2선택하고 Add script-Events-Frame-onFrame(,,,)하고 "1"쓰고
Add script-Externat files and sate- Load/unloadspeite-loadmovie
클릭하여 아래 URL:작품 주소를 적어 준다
다시 Add script-Events-Frame-onFrame(..)괄호속에 10를 쓰시고
Add script-movie control-stop() 주고

S3선택하고 Add script-Events-Frame-onFrame(,,,)하고 "1"쓰고
Add script-Externat files and sate- Load/unloadspeite-loadmovie
클릭하여 아래 URL:작품 주소를 적어 준다
다시 Add script-Events-Frame-onFrame(..)괄호속에 15를 쓰시고
Add script-movie control-stop() 주고

6 이제 Scene_1에 효과 줄차례 Scene_1에 stop을 1,5,10,15 을 주고
타임라인에서
s1는 2플레임에 place 6플레임에 Remove
s2는 6플레임에 place 11플레임에 Remove
s1는 11플레임에 place 16플레임에 Remove

Scene_1선택하고 script창에서 타임라인
2플레임 우클릭 Frame-SetLabl(...) 선택하고 ()속에 1을 넣으시고
6플레임에서 또 Frame-SetLabl(...) 선택하고 ()속에 2을 넣으시고
11플레임에서 또 Frame-SetLabl(...) 선택하고 ()속에 3을 넣으시고
16플레임에서 또 Frame-SetLabl(...) 선택하고 ()속에 4을 넣으시고

다시 설명하면
아웃라인에서 Scene_1선택 Script 창에서
Add script-Events-Frame-onFrame() 괄호속에 1을 쓰시고
Add script-Movie contron -stop()하고
Add script-Events-Frame-onFrame() 괄호속에 2를 쓰고
Add script-Frame-SetLable(..)클릭하고 괄호속에 _1 쓴다(밑줄_1)

Add script-Events-Frame-onFrame() 괄호속에 5을 쓰시고
Add script-Movie contron -stop()하고

Add script-Events-Frame-onFrame() 괄호속에 6을 쓰시고
Add script-Frame-SetLable(..)클릭하고 괄호속에 _2 쓴다(밑줄_2)

Add script-Events-Frame-onFrame() 괄호속에 10을 쓰시고
Add script-Movie contron -stop()하고

Add script-Events-Frame-onFrame() 괄호속에 11을 쓰시고
Add script-Frame-SetLable(..)클릭하고 괄호속에 _3 쓴다(밑줄_3)

Add script-Events-Frame-onFrame() 괄호속에 15을 쓰시고
Add script-Movie contron -stop()하고

7. 이렇게 하면 작업창에 다음과같이 나타납니다
onFrame(1){
stop(); }
onFrame(2){
setLabel("_1") }
onFrame(5){
stop(); }
onFrame(6) {
setLabel("_2") }

onFrame(10) {
stop(); }

onFrame(11) {
setLabel("_3") }

onFrame(15) {
stop(); }

8. 메뉴 줄에 File-Export Setting 클릭하고 새창 swf창에서
위에 Swf version to Export -SWF7선택 한다(SWF6을 7로 합니다)

12 로드뮤직은 위치와 관계없이 잘 나오는데
무비 영상은 원하는 자리에 나오지 않고 엉뚱한 곳에서 나올 수 있다
좌우상하 이동은 Transform에서 X,Y 값을 조정한다
마우스로 잡아당겨서 조정해도 된다 가능하면 % 숫자를 똑같이 줄여준다

수고 했습니다 554, 553, 550, 543

 

첨부파일 Loadermovie.swf

출처 : 사랑방 마을
글쓴이 : 야생화 원글보기
메모 :