Help with Volume Slider

hi

I have just used the tutorial How To Make A Volume Slider
and was wondering can the flash play .wav files for instance the file name is hardyz.wav

would i just change it to this?

onClipEvent (load) {
mySound = new Sound();
mySound.loadSound(“hardyz.wav”, false);
}
onClipEvent (enterFrame) {
downloaded = mySound.getBytesLoaded();
total = mySound.getBytesTotal();
if (downloaded != total) {
_root.dl = “_database loading //”;
} else {
complete = 1;
_root.dl = “”;
}
mySound.setVolume(_root.volume
2);
}
*

if so I have done this and saved the SWF and it dosn’t play