Loading sound (again)

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

on (release) {
whatever
};

that way… does anyone know?

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

ok, i’m completely confused!!!

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

never mind.