flash 在if判断语句中要判断鼠标是否在按钮上这个语句怎么写

来源:百度知道 编辑:UC知道 时间:2024/05/16 17:14:19
还有if里面两个条件同时成立的符号,还有2个其中一个成立的符号,顺便告诉下优先级

把按钮属性改成影片剪辑。写入动作:
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.nextFrame();
} else {
this.prevFrame();
}// end else if
}
不像按钮一样,鼠标移动到影片剪辑上不会变小手。