onClipEvent (load) {
function checkMouse() {
if (_root._xmouse>550||_root._xmouse<0||_root._ymouse>400||_root._ymouse<0) {
//场景的宽和高为 550,400

return true;
} else {
return false;
}
}
}
onClipEvent (mouseMove) {
if (checkMouse()) {
trace("mouse is out of stage!"

;
}
updateAfterEvent();
}