# Getting sound to play

**URL:** <https://forum.kirupa.com/t/getting-sound-to-play/110013>\
**Category:** Uncategorized\
**Created:** [May 11, 2004, 5:11pm UTC](https://forum.kirupa.com/t/getting-sound-to-play/110013 "2004-05-11T17:11:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sixpac666](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@sixpac666](https://forum.kirupa.com/u/sixpac666)\
**Post date:** [May 11, 2004, 5:11pm UTC](https://forum.kirupa.com/t/getting-sound-to-play/110013/1 "2004-05-11T17:11:00Z")

</div>

If I wanted a song to play (say wind.wav for example) when a button i have made is clicked, what do I have to add to the following code? (I still want the button to go to and play 10 though)

on (release) {  
gotoAndPlay(10);  
}

Thanks!

Charlie
