Can't get Audio to play

Hi

I am trying to get an audio to play when mousing over an object (a cube).

The print out and over seem to work when mousing over this object but no sound plays. I have attached the audio to the cube.

Any ideas?

Thanks, Chris

function OnMouseOver(){
    print("over");
    audio.Play();
}

function OnMouseExit () {
    print("out");
    audio.Stop();
}

try

function OnMouseEnter()

instead of

function OnMouseOver()

because i think OnMouseOver is calling code everytime the mouse is over something. so it would be trying to start the audio every frame the mouse is over something. and then stop as soon as it's not. so try OnMouseEnter().

so it'd be

function OnMouseEnter()
{
 print("The mouse is over the object.");
 audio.Play();
}

function OnMouseExit()
{
 print("The mouse is in space and not over this object.");
 audio.Stop();
}

or something like that.