# Loading sound (again)

**URL:** <https://forum.kirupa.com/t/loading-sound-again/6586>\
**Category:** Uncategorized\
**Created:** [October 11, 2002, 2:56am UTC](https://forum.kirupa.com/t/loading-sound-again/6586 "2002-10-11T02:56:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbzfan33](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@dbzfan33](https://forum.kirupa.com/u/dbzfan33)\
**Post date:** [October 11, 2002, 2:56am UTC](https://forum.kirupa.com/t/loading-sound-again/6586/1 "2002-10-11T02:56:17Z")

</div>

Ok, how do i load a sound on click of a button? Using

on (release) {  
whatever  
};

that way… does anyone know?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 11, 2002, 3:02am UTC](https://forum.kirupa.com/t/loading-sound-again/6586/2 "2002-10-11T03:02:29Z")

</div>

ok, never mind that i figured it out.  
now, how should i set the varibles and stuff?

* * *

## on (release) { trackone.attachSound(sound); }

is that right? how come i don’t hear music? the name of the wav file is trackone, should i make it trackone.wav on there? what do i put between the ()'s?

another thing. this just attaches the music right? how do i make it play the music?  
thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 11, 2002, 3:04am UTC](https://forum.kirupa.com/t/loading-sound-again/6586/3 "2002-10-11T03:04:59Z")

</div>

ok, i’m completely confused!!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 11, 2002, 3:18am UTC](https://forum.kirupa.com/t/loading-sound-again/6586/4 "2002-10-11T03:18:28Z")

</div>

lol, after all that trouble i found i tutorial on this site!

never mind.
