115 posts
  • Has been part of the Envato Community for over 6 years
  • Has collected 10+ items on Envato Market
jennicandance says

Hello,

I have my rollovers set up through a movie clip. What I want to do, is when one of my buttons are rolled over, I want a specific sound clip to play. I have frame labels for over, up, out and down, and I was hoping I could put the sound on the ‘over’ label, and have the sound play when rolled-over, but it plays as soon as the movie starts instead. :(

If you need to see my code, I can post that too.

Thanks! Sammi

2075 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+7 more
LanceSnider says

Post your code and I’ll take a look.

2309 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 10+ members
  • Has sold $100+ on Envato Market
  • Has been a beta tester for an Envato feature
+5 more
theflyingtinman says

Have you tried :

btn.addEventListener(MouseEvent.MOUSE_OVER, playSound);

function playSound(e:MouseEvent)
{
      ...
}
215 posts
  • Has been part of the Envato Community for over 6 years
  • Located in United States
CypherScience says

If you want to contact me through my profile I’ll be glad to take a look at your file. Sounds like it would be very easy to fix. Basically, try what tinman said. I can do it for you if you’re having problems.

115 posts
  • Has been part of the Envato Community for over 6 years
  • Has collected 10+ items on Envato Market
jennicandance says

Thanks for everyones reply. Sorry it has taken me so long to respond… Here is my code:

http://pastie.org/344885

by
by
by
by
by
by