Beep Sound

Hi,

I need to play a simple beep sound on rolling over a movieclip acting as a button. I have read the Kirupa tutorial but this is for an actual button. Is the code the same for a movieclip?

Thanks!

I donno about buttons but when you have a movie clip act as a button the movie clip just plays when the user rolls over it. There are multiple ways to do what you want but I think the easiest is just make another layer in your movie clip and then click the first frame of your movie clip (or whereever you have it play on rollover) then drag the sound from your library anywhere onto the stage. You should see a line in the new layer if you did it right .

Hope that helps. I tried not to make it too confussing.

If I want to add a sound on the rollOver of a button, I just add the sound to the ‘over’ state of the button. If you edit your button, select the second frame that’s there (‘over’) and then drag your sound from the library to the stage. The blue soundwave will show up in that ‘over’ box. Then that sound will sound on every rollOver. (-: