스크립트 영상
1. 작업창 크기; 700*500, 이미지 크기; 400*300, ;
프레임 소스 불러와 카피해 하나를 더 만들어 아래 프레임은 좌표=278/195, 로테이션=10/0을 주고 위 프레임 선택하고 좌표=275/175, 로테이션=-5/0으로 주고 각각 무비클립으로 묶고 아웃라인 아래에서부터 ef1-2로 이름하고 각각 무비클립을 열고 같은 효과는 준다. 1프레임에 스톱, 21프레임에 Appear into position-Fade_Std fade in, 40프레임에 스톱을 준다.
2. 1번 이미지 불러와 작업창에 맞추고 이를 카피해 y값 1을 더 주고 물결판 불러와 포지션 포인트 중하에 주고 y=400에 위치시키고 카피한 이미지와 무비클립으로 묶고 마스크에 체크한 다음, 다시 아래 이미지와 무비클립으로 묶어 하나의 무비클립으로 만들어 img1이라 이름하고 주고 싶은 필터를 준다. img1을 카피해 총 10개를 만들어 img1-10으로 이름하고 해당 이미지로 교체한다.
3. 이제 img 각각을 선택하고 스크립트를 적는다. 하나만 알려주고 나머지는 각자 적어보라고 하고 싶은 마음은 굴뚝같은데 메모장에 전부를 적는다. 이어 바탕 이미지 불러와 이미지에 맞게 에펙들을 만들어 장식하여 영상의 컬리티를 높인다. gif 파일이나 로드 소스 덕지덕지 붙이라는 말이 아니다. 그 이미지에 맞게 만들어라.
* img1을 선택하고
onSelfEvent(load){
targetx = 80;
targety = 400;
speedx = 0.2;
speedy = 0.2;
angle = -20 + random(0);
scalex = 20;
scaley = 35;
}
onSelfEvent(enterFrame){
this._x = this._x + speedx * (targetx - this._x);
this._y = this._y + speedy * (targety - this._y);
this._rotation = this._rotation + speedx * (angle - this._rotation);
this._xscale = this._xscale + speedx * (scalex - this._xscale);
this._yscale = this._yscale + speedy * (scaley - this._yscale);
}
on (rollOver) {
if(_root.img1.scalex == 20 && _root.img1.scaley == 35){
_root.img1.scalex = 25;
_root.img1.scaley = 40;
}
}
on (rollOut,releaseOutside) {
if(_root.img1.scalex == 25 && _root.img1.scaley == 40){
_root.img1.scalex = 20;
_root.img1.scaley = 35;
}
}
on (press) {
if(_root.img1.targetx == 80 && _root.img1.targety == 400){
_root.img1.targetx = 290;
_root.img1.targety = 120;
_root.img1.angle = 10 + random(0);
_root.img1.scalex = 100;
_root.img1.scaley = 100;
ef1.gotoAndPlay(2);
}else if(_root.img1.targetx == 290 && _root.img1.targety == 120){
_root.img1.targetx = 80;
_root.img1.targety = 400;
_root.img1.angle = -20 + random(0);
_root.img1.scalex = 20;
_root.img1.scaley = 35;
ef1.gotoAndPlay(1);
}
}
onSelfEvent (rollOver,press) {
this.swapDepths(8);
}
* img2를 선택하고
onSelfEvent(load){
targetx = 140;
targety = 380;
speedx = 0.2;
speedy = 0.2;
angle = 0 + random(0);
scalex = 20;
scaley = 35;
}
onSelfEvent(enterFrame){
this._x = this._x + speedx * (targetx - this._x);
this._y = this._y + speedy * (targety - this._y);
this._rotation = this._rotation + speedx * (angle - this._rotation);
this._xscale = this._xscale + speedx * (scalex - this._xscale);
this._yscale = this._yscale + speedy * (scaley - this._yscale);
}
on (rollOver) {
if(_root.img2.scalex == 20 && _root.img2.scaley == 35){
_root.img2.scalex = 25;
_root.img2.scaley = 40;
}
}
on (rollOut,releaseOutside) {
if(_root.img2.scalex == 25 && _root.img2.scaley == 40){
_root.img2.scalex = 20;
_root.img2.scaley = 35;
}
}
on (press) {
if(_root.img2.targetx == 140 && _root.img2.targety == 380){
_root.img2.targetx = 290;
_root.img2.targety = 120;
_root.img2.angle = 10 + random(0);
_root.img2.scalex = 100;
_root.img2.scaley = 100;
ef1.gotoAndPlay(2);
}else if(_root.img2.targetx == 290 && _root.img2.targety == 120){
_root.img2.targetx = 140;
_root.img2.targety = 380;
_root.img2.angle = 0 + random(0);
_root.img2.scalex = 20;
_root.img2.scaley = 35;
ef1.gotoAndPlay(1);
}
}
onSelfEvent (rollOver,press) {
this.swapDepths(8);
}
* img3을 선택하고
onSelfEvent(load){
targetx = 200;
targety = 400;
speedx = 0.2;
speedy = 0.2;
angle = 20 + random(0);
scalex = 20;
scaley = 35;
}
onSelfEvent(enterFrame){
this._x = this._x + speedx * (targetx - this._x);
this._y = this._y + speedy * (targety - this._y);
this._rotation = this._rotation + speedx * (angle - this._rotation);
this._xscale = this._xscale + speedx * (scalex - this._xscale);
this._yscale = this._yscale + speedy * (scaley - this._yscale);
}
on (rollOver) {
if(_root.img3.scalex == 20 && _root.img3.scaley == 35){
_root.img3.scalex = 25;
_root.img3.scaley = 40;
}
}
on (rollOut,releaseOutside) {
if(_root.img3.scalex == 25 && _root.img3.scaley == 40){
_root.img3.scalex = 20;
_root.img3.scaley = 35;
}
}
on (press) {
if(_root.img3.targetx == 200 && _root.img3.targety == 400){
_root.img3.targetx = 270;
_root.img3.targety = 100;
_root.img3.angle = -5 + random(0);
_root.img3.scalex = 100;
_root.img3.scaley = 100;
ef2.gotoAndPlay(2);
}else if(_root.img3.targetx == 270 && _root.img3.targety == 100){
_root.img3.targetx = 200;
_root.img3.targety = 400;
_root.img3.angle = 20 + random(0);
_root.img3.scalex = 20;
_root.img3.scaley = 35;
ef2.gotoAndPlay(1);
}
}
onSelfEvent (rollOver,press) {
this.swapDepths(8);
}
* img4를 선택하고
onSelfEvent(load){
targetx = 500;
targety = 400;
speedx = 0.2;
speedy = 0.2;
angle = -20 + random(0);
scalex = 20;
scaley = 35;
}
onSelfEvent(enterFrame){
this._x = this._x + speedx * (targetx - this._x);
this._y = this._y + speedy * (targety - this._y);
this._rotation = this._rotation + speedx * (angle - this._rotation);
this._xscale = this._xscale + speedx * (scalex - this._xscale);
this._yscale = this._yscale + speedy * (scaley - this._yscale);
}
on (rollOver) {
if(_root.img4.scalex == 20 && _root.img4.scaley == 35){
_root.img4.scalex = 25;
_root.img4.scaley = 40;
}
}
on (rollOut,releaseOutside) {
if(_root.img4.scalex == 25 && _root.img4.scaley == 40){
_root.img4.scalex = 20;
_root.img4.scaley = 35;
}
}
on (press) {
if(_root.img4.targetx == 500 && _root.img4.targety == 400){
_root.img4.targetx = 290;
_root.img4.targety = 120;
_root.img4.angle = 10 + random(0);
_root.img4.scalex = 100;
_root.img4.scaley = 100;
ef1.gotoAndPlay(2);
}else if(_root.img4.targetx == 290 && _root.img4.targety == 120){
_root.img4.targetx = 500;
_root.img4.targety = 400;
_root.img4.angle = -20 + random(0);
_root.img4.scalex = 20;
_root.img4.scaley = 35;
ef1.gotoAndPlay(1);
}
}
onSelfEvent (rollOver,press) {
this.swapDepths(8);
}
* img5를 선택하고
onSelfEvent(load){
targetx = 560;
targety = 380;
speedx = 0.2;
speedy = 0.2;
angle = 0 + random(0);
scalex = 20;
scaley = 35;
}
onSelfEvent(enterFrame){
this._x = this._x + speedx * (targetx - this._x);
this._y = this._y + speedy * (targety - this._y);
this._rotation = this._rotation + speedx * (angle - this._rotation);
this._xscale = this._xscale + speedx * (scalex - this._xscale);
this._yscale = this._yscale + speedy * (scaley - this._yscale);
}
on (rollOver) {
if(_root.img5.scalex == 20 && _root.img5.scaley == 35){
_root.img5.scalex = 25;
_root.img5.scaley = 40;
}
}
on (rollOut,releaseOutside) {
if(_root.img5.scalex == 25 && _root.img5.scaley == 40){
_root.img5.scalex = 20;
_root.img5.scaley = 35;
}
}
on (press) {
if(_root.img5.targetx == 560 && _root.img5.targety == 380){
_root.img5.targetx = 270;
_root.img5.targety = 100;
_root.img5.angle = -5 + random(0);
_root.img5.scalex = 100;
_root.img5.scaley = 100;
ef2.gotoAndPlay(2);
}else if(_root.img5.targetx == 270 && _root.img5.targety == 100){
_root.img5.targetx = 560;
_root.img5.targety = 380;
_root.img5.angle = 0 + random(0);
_root.img5.scalex = 20;
_root.img5.scaley = 35;
ef2.gotoAndPlay(1);
}
}
onSelfEvent (rollOver,press) {
this.swapDepths(8);
}
* img6을 선택하고
onSelfEvent(load){
targetx = 620;
targety = 400;
speedx = 0.2;
speedy = 0.2;
angle = 20 + random(0);
scalex = 20;
scaley = 35;
}
onSelfEvent(enterFrame){
this._x = this._x + speedx * (targetx - this._x);
this._y = this._y + speedy * (targety - this._y);
this._rotation = this._rotation + speedx * (angle - this._rotation);
this._xscale = this._xscale + speedx * (scalex - this._xscale);
this._yscale = this._yscale + speedy * (scaley - this._yscale);
}
on (rollOver) {
if(_root.img6.scalex == 20 && _root.img6.scaley == 35){
_root.img6.scalex = 25;
_root.img6.scaley = 40;
}
}
on (rollOut,releaseOutside) {
if(_root.img6.scalex == 25 && _root.img6.scaley == 40){
_root.img6.scalex = 20;
_root.img6.scaley = 35;
}
}
on (press) {
if(_root.img6.targetx == 620 && _root.img6.targety == 400){
_root.img6.targetx = 270;
_root.img6.targety = 100;
_root.img6.angle = -5 + random(0);
_root.img6.scalex = 100;
_root.img6.scaley = 100;
ef2.gotoAndPlay(2);
}else if(_root.img6.targetx == 270 && _root.img6.targety == 100){
_root.img6.targetx = 620;
_root.img6.targety = 400;
_root.img6.angle = 20 + random(0);
_root.img6.scalex = 20;
_root.img6.scaley = 35;
ef2.gotoAndPlay(1);
}
}
onSelfEvent (rollOver,press) {
this.swapDepths(8);
}
* img7을 선택하고
onSelfEvent(load){
targetx = 570;
targety = 60;
speedx = 0.2;
speedy = 0.2;
angle = 10 + random(0);
scalex = 20;
scaley = 35;
}
onSelfEvent(enterFrame){
this._x = this._x + speedx * (targetx - this._x);
this._y = this._y + speedy * (targety - this._y);
this._rotation = this._rotation + speedx * (angle - this._rotation);
this._xscale = this._xscale + speedx * (scalex - this._xscale);
this._yscale = this._yscale + speedy * (scaley - this._yscale);
}
on (rollOver) {
if(_root.img7.scalex == 20 && _root.img7.scaley == 35){
_root.img7.scalex = 25;
_root.img7.scaley = 40;
}
}
on (rollOut,releaseOutside) {
if(_root.img7.scalex == 25 && _root.img7.scaley == 40){
_root.img7.scalex = 20;
_root.img7.scaley = 35;
}
}
on (press) {
if(_root.img7.targetx == 570 && _root.img7.targety == 60){
_root.img7.targetx = 270;
_root.img7.targety = 100;
_root.img7.angle = -5 + random(0);
_root.img7.scalex = 100;
_root.img7.scaley = 100;
ef2.gotoAndPlay(2);
}else if(_root.img7.targetx == 270 && _root.img7.targety == 100){
_root.img7.targetx = 570;
_root.img7.targety = 60;
_root.img7.angle = 10 + random(0);
_root.img7.scalex = 20;
_root.img7.scaley = 35;
ef2.gotoAndPlay(1);
}
}
onSelfEvent (rollOver,press) {
this.swapDepths(8);
}
* img8을 선택하고
onSelfEvent(load){
targetx = 620;
targety = 110;
speedx = 0.2;
speedy = 0.2;
angle = -10 + random(0);
scalex = 20;
scaley = 35;
}
onSelfEvent(enterFrame){
this._x = this._x + speedx * (targetx - this._x);
this._y = this._y + speedy * (targety - this._y);
this._rotation = this._rotation + speedx * (angle - this._rotation);
this._xscale = this._xscale + speedx * (scalex - this._xscale);
this._yscale = this._yscale + speedy * (scaley - this._yscale);
}
on (rollOver) {
if(_root.img8.scalex == 20 && _root.img8.scaley == 35){
_root.img8.scalex = 25;
_root.img8.scaley = 40;
}
}
on (rollOut,releaseOutside) {
if(_root.img8.scalex == 25 && _root.img8.scaley == 40){
_root.img8.scalex = 20;
_root.img8.scaley = 35;
}
}
on (press) {
if(_root.img8.targetx == 620 && _root.img8.targety == 110){
_root.img8.targetx = 290;
_root.img8.targety = 120;
_root.img8.angle = 10 + random(0);
_root.img8.scalex = 100;
_root.img8.scaley = 100;
ef1.gotoAndPlay(2);
}else if(_root.img8.targetx == 290 && _root.img8.targety == 120){
_root.img8.targetx = 620;
_root.img8.targety = 110;
_root.img8.angle = -10 + random(0);
_root.img8.scalex = 20;
_root.img8.scaley = 35;
ef1.gotoAndPlay(1);
}
}
onSelfEvent (rollOver,press) {
this.swapDepths(8);
}
* img9를 선택하고
onSelfEvent(load){
targetx = 570;
targety = 200;
speedx = 0.2;
speedy = 0.2;
angle = 10 + random(0);
scalex = 20;
scaley = 35;
}
onSelfEvent(enterFrame){
this._x = this._x + speedx * (targetx - this._x);
this._y = this._y + speedy * (targety - this._y);
this._rotation = this._rotation + speedx * (angle - this._rotation);
this._xscale = this._xscale + speedx * (scalex - this._xscale);
this._yscale = this._yscale + speedy * (scaley - this._yscale);
}
on (rollOver) {
if(_root.img9.scalex == 20 && _root.img9.scaley == 35){
_root.img9.scalex = 25;
_root.img9.scaley = 40;
}
}
on (rollOut,releaseOutside) {
if(_root.img9.scalex == 25 && _root.img9.scaley == 40){
_root.img9.scalex = 20;
_root.img9.scaley = 35;
}
}
on (press) {
if(_root.img9.targetx == 570 && _root.img9.targety == 200){
_root.img9.targetx = 270;
_root.img9.targety = 100;
_root.img9.angle = -5 + random(0);
_root.img9.scalex = 100;
_root.img9.scaley = 100;
ef2.gotoAndPlay(2);
}else if(_root.img9.targetx == 270 && _root.img9.targety == 100){
_root.img9.targetx = 570;
_root.img9.targety = 200;
_root.img9.angle = 10 + random(0);
_root.img9.scalex = 20;
_root.img9.scaley = 35;
ef2.gotoAndPlay(1);
}
}
onSelfEvent (rollOver,press) {
this.swapDepths(8);
}
* img10을 선택하고
onSelfEvent(load){
targetx = 620;
targety = 260;
speedx = 0.2;
speedy = 0.2;
angle = -10 + random(0);
scalex = 20;
scaley = 35;
}
onSelfEvent(enterFrame){
this._x = this._x + speedx * (targetx - this._x);
this._y = this._y + speedy * (targety - this._y);
this._rotation = this._rotation + speedx * (angle - this._rotation);
this._xscale = this._xscale + speedx * (scalex - this._xscale);
this._yscale = this._yscale + speedy * (scaley - this._yscale);
}
on (rollOver) {
if(_root.img10.scalex == 20 && _root.img10.scaley == 35){
_root.img10.scalex = 25;
_root.img10.scaley = 40;
}
}
on (rollOut,releaseOutside) {
if(_root.img10.scalex == 25 && _root.img10.scaley == 40){
_root.img10.scalex = 20;
_root.img10.scaley = 35;
}
}
on (press) {
if(_root.img10.targetx == 620 && _root.img10.targety == 260){
_root.img10.targetx = 290;
_root.img10.targety = 120;
_root.img10.angle = 10 + random(0);
_root.img10.scalex = 100;
_root.img10.scaley = 100;
ef1.gotoAndPlay(2);
}else if(_root.img10.targetx == 290 && _root.img10.targety == 120){
_root.img10.targetx = 620;
_root.img10.targety = 260;
_root.img10.angle = -10 + random(0);
_root.img10.scalex = 20;
_root.img10.scaley = 35;
ef1.gotoAndPlay(1);
}
}
onSelfEvent (rollOver,press) {
this.swapDepths(8);
}