# Rollover Sounds in AS3

**URL:** https://forum.kirupa.com/t/rollover-sounds-in-as3/272401
**Category:** flash
**Created:** [October 4, 2008, 10:56pm UTC](https://forum.kirupa.com/t/rollover-sounds-in-as3/272401 "2008-10-04T22:56:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mdharman](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@mdharman](https://forum.kirupa.com/u/mdharman)
#### Post date: [October 4, 2008, 10:56pm UTC](https://forum.kirupa.com/t/rollover-sounds-in-as3/272401/1 "2008-10-04T22:56:45Z")

</div>

I have already received some good advice from theCodeBot on my last question so I decided I would try another. I am trying to get converted to Actionscript 3 from AS2. In old versions of flash, you simply placed the sound in a keyframe inside the button on the over or down state. Worked fine, but not anymore. I guess the sound must be set up with actionscript and a listener. I understand linkage. Is that the way to go? Can anyone give me a simple example of how to make one sound on the over state and a different one on the down state? Thanks.
