0
마우스가 버튼에서 벗어날 때마다 menubar.handmove
을 표시하고 싶습니다. 그러나 버튼을 클릭하거나 버튼을 클릭하면 가시성이 false가되지만 버튼에 마우스를 놓으면 true로 돌아 가지 않습니다.Flash CS3 마우스 이벤트
어떻게해야합니까?
stop();
menubar.play_but.addEventListener(MouseEvent.CLICK, playgame);
menubar.intr_but.addEventListener(MouseEvent.MOUSE_OVER, overdown1);
menubar.play_but.addEventListener(MouseEvent.MOUSE_OVER, overdown);
menubar.intr_but.addEventListener(MouseEvent.CLICK, instruc);
stage.addEventListener(MouseEvent.MOUSE_MOVE, menu);
var mouseE:Boolean = false;
function playgame(e:MouseEvent):void {
gotoAndPlay(63);
mouseE=true;
}
function overdown(e:MouseEvent):void {
mouseE=true;
}
function instruc(e:MouseEvent):void {
gotoAndPlay(64);
mouseE=true;
}
function overdown1(e:MouseEvent):void {
mouseE=true;
}
function menu(e:MouseEvent):void {
if(mouseE==false;){
menubar.handmove.visible=true;
}else{
menubar.handmove.visible=false;
}
}
tnx..sir 당신의 도움을 인정합니다. –