Flash/초간단액션
Flash [초간단액션] 3프레임으로 된 간단 버튼
OJR
2009. 4. 15. 11:14
초간단 3프레임으로 구성된 무비클립으로
롤오버시 2프레임
롤아웃시 1프레임
클릭시 3프레임으로 고정
onClipEvent(load){
this.isClick = false;
this.onRelease = function(){
if( this.isClick ) return;
this.isClick = true;
this.gotoAndStop(3);
}
this.onRollOver = function(){
if( this.isClick ){
this.useHandCursor = false;
return;
}
this.gotoAndStop(2);
}
this.onRollOut = function(){
if( this.isClick ) return;
this.gotoAndStop(1);
}
}
this.isClick = false;
this.onRelease = function(){
if( this.isClick ) return;
this.isClick = true;
this.gotoAndStop(3);
}
this.onRollOver = function(){
if( this.isClick ){
this.useHandCursor = false;
return;
}
this.gotoAndStop(2);
}
this.onRollOut = function(){
if( this.isClick ) return;
this.gotoAndStop(1);
}
}
[초간단액션] 은 그냥 가져다 붙여넣기를 위한 거다.