1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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);

function handleBlankMouseOver(event)
{
  homeButton.gotoAndPlay(“over”);
}

function handleBlankMouseOut(event)
{
  homeButton.gotoAndPlay(“out”);
}

function handleBlankMouseDown(event)
{
  homeButton.gotoAndPlay(“out”);
}