# MouseOver sound problem

**URL:** <https://forum.kirupa.com/t/mouseover-sound-problem/331820>\
**Category:** flash\
**Created:** [October 30, 2013, 12:58pm UTC](https://forum.kirupa.com/t/mouseover-sound-problem/331820 "2013-10-30T12:58:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lizeriz](https://avatars.discourse-cdn.com/v4/letter/l/eb8c5e/32.png) [@lizeriz](https://forum.kirupa.com/u/lizeriz)\
**Post date:** [October 30, 2013, 12:58pm UTC](https://forum.kirupa.com/t/mouseover-sound-problem/331820/1 "2013-10-30T12:58:24Z")

</div>

I want my buttons to play a sound when the mouse rollover but I keep getting Error 1061 and i have no idea how to solve it.  
Do i need to import anything or im doing this wrong? ( my sound in the library is properly linked )

```auto
var buttons:Array = [one_btn, two_btn, three_btn];
for (var i:int = 0; i<buttons.length; i++){
    buttons*.addEventListener(MouseEvent.MOUSE_OVER, mSound);
}

var soundOver:Sound = new Sound();
soundOver.attachSound("Arcade.mp3");

function mSound(event:MouseEvent):void{
    soundOver.start();
}

```
