// This is the answer in simplest terms (no type declaring)
homeButton.addEventListener(MouseEvent.MOUSE_OVER,handleBlankMouseOver);
homeButton.addEventListener(MouseEvent.MOUSE_OUT,handleBlankMouseOut);
homeButton.addEventListener(MouseEvent.MOUSE_DOWN,handleBlankMouseDown);
functionhandleBlankMouseOver(event)
{
homeButton.gotoAndPlay(“over”);
}
functionhandleBlankMouseOut(event)
{
homeButton.gotoAndPlay(“out”);
}
functionhandleBlankMouseDown(event)
{
homeButton.gotoAndPlay(“out”);
}