길 끝에 서면 모두가 아름답다 문정희 낭송 고은하
무비 750X500
1. Content로 이미지 15장 불러와 모두선택 작업 창으로 불러오고 W=125 H=80 O=X Center X=375 Y=250 이름 aa1~aa15로 properties창에서 Tarrget에 체크하고
2. 무비 창을 50%로 줄여놓고 무비 창 밖으로 무작위로 끌어다 놓고 모두선택 무비클립으로 묶고 O=X Center X=375 Y=250에 있는 포 인트 점을 X,Y=0으로 끌어다 놓고 스크립트 복사해다 붙여 넌다
3. 배경 넣어 창에 맞추고 맨 아래로 내려주고 예쁘게 꾸민다
무비클립에 붙일 소스
function init(){ aa1.ss(0.1, 105, 150, 125, 85); aa2.ss(0.1, 240, 150, 125, 85); aa3.ss(0.1, 375, 150, 125, 85); aa4.ss(0.1, 510, 150, 125, 85); aa5.ss(0.1, 645, 150, 125, 85); aa6.ss(0.1, 105, 250, 125, 85); aa7.ss(0.1, 240, 250, 125, 85); aa8.ss(0.1, 375, 250, 125, 85); aa9.ss(0.1, 510, 250, 125, 85); aa10.ss(0.1, 645, 250, 125, 85); aa11.ss(0.1, 105, 350, 125, 85); aa12.ss(0.1, 240, 350, 125, 85); aa13.ss(0.1, 375, 350, 125, 85); aa14.ss(0.1, 510, 350, 125, 85); aa15.ss(0.1, 645, 350, 125, 85); } onSelfEvent (load) { k = 1; MovieClip.prototype.ss = function (speed, targetx, targety, width, height){ this.onEnterFrame = function (){ this._x += speed * (targetx - this._x); this._y += speed * (targety - this._y); this._width += (width - this._width) / 5; this._height += (height - this._height) / 5; } } init(); } onSelfEvent (enterFrame) { stop(); for (i = 1; i <= 15; i++) { this["aa" + i].onRollOver=function(){ this.swapDepths(k++); this.gotoAndPlay(2); } } for (i = 1; i <= 15; i++) { this["aa" + i].onPress = function (){ this.isDown = !this.isDown; if(this.isDown==true){ this.ss(0.1, 375, 250, 750, 400); } else{ init(); } } } }
라인소스주소 https://t1.daumcdn.net/cfile/cafe/254C074E515E61AB2B?original
길 끝에 서면 모두가 아름답다 문정희 낭송 고은하(poem)
|