Menu

menu-13

2016. 5. 27. 01:56

안개핑 Swish study

 

 

 

closer Sprite 에 들어가는 액션

onLoad () {
    _visible = 0;
}


closer Shape 에 들어가는 액션

on (rollOver) {
    _parent.menu1.gotoAndPlay(13);
    _parent.menu2.gotoAndPlay(10);
    _parent.menu3.gotoAndPlay(7);
    _parent.menu4.gotoAndPlay(4);
    _visible = 0;
}


menu 에 들어가는 액션

on (rollOver) {
    menu1.gotoAndPlay(2);
    menu2.gotoAndPlay(2);
    menu3.gotoAndPlay(2);
    menu4.gotoAndPlay(2);
    closer._visible = 1;
}

menu4 에 들어가는 액션

onFrame (1) {
    stop();
}
onFrame (2,afterPlacedObjectEvents) {
    _x-= 485;
    _x*= 0.8;
    _x+= 485;
}
onFrame (3,afterPlacedObjectEvents) {
    gotoAndPlay(2);
}
onFrame (13,afterPlacedObjectEvents) {
    _x-= 5;
    _x*= 0.8;
    _x+= 5;
}
onFrame (14,afterPlacedObjectEvents) {
    gotoAndPlay(13);
}


menu3 에 들어가는 액션

onFrame (1) {
    stop();
}
onFrame (5,afterPlacedObjectEvents) {
    _x-= 365;
    _x*= 0.8;
    _x+= 365;
}
onFrame (6,afterPlacedObjectEvents) {
    gotoAndPlay(5);
}
onFrame (13,afterPlacedObjectEvents) {
    _x-= 5;
    _x*= 0.8;
    _x+= 5;
}
onFrame (14,afterPlacedObjectEvents) {
    gotoAndPlay(13);
}


menu2 에 들어가는 액션

onFrame (1) {
    stop();
}
onFrame (8,afterPlacedObjectEvents) {
    _x-= 245;
    _x*= 0.8;
    _x+= 245;
}
onFrame (9,afterPlacedObjectEvents) {
    gotoAndPlay(8);
}
onFrame (13,afterPlacedObjectEvents) {
    _x-= 5;
    _x*= 0.8;
    _x+= 5;
}
onFrame (14,afterPlacedObjectEvents) {
    gotoAndPlay(13);
}


menu1 에 들어가는 액션

onFrame (1,afterPlacedObjectEvents) {
    stop();
}
onFrame (11,afterPlacedObjectEvents) {
    _x-= 125;
    _x*= 0.8;
    _x+= 125;
}
onFrame (12,afterPlacedObjectEvents) {
    gotoAndPlay(11);
}
onFrame (13,afterPlacedObjectEvents) {
    _x-= 5;
    _x*= 0.8;
    _x+= 5;
}
onFrame (14,afterPlacedObjectEvents) {
    gotoAndPlay(13);
}
.

'Swish study' 카테고리의 다른 글

폭죽 만들기.  (0) 2016.05.27
별 만들기.  (0) 2016.05.27
가사와 영상 맞추기  (0) 2016.05.27
글 보기 버튼  (0) 2016.05.27
글자 각각에 효과주기.  (0) 2016.05.27