Great that it worked ^^...
As for the mouse inside/outside testing...
You could use hitTestPoint(mouseX, mouseY, true) with an if... But for you I would recommend adding MouseEvent.MOUSE_OVER and MouseEvent.MOUSE_OUT listeners. MOUSE_OVER activates when your mouse goes inside the button and MOUSE_OUT activates when it goes outside.