# Help with Volume Slider

**URL:** https://forum.kirupa.com/t/help-with-volume-slider/36978
**Category:** flash
**Created:** [December 4, 2003, 11:09am UTC](https://forum.kirupa.com/t/help-with-volume-slider/36978 "2003-12-04T11:09:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![da\_neural](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@da\_neural](https://forum.kirupa.com/u/da_neural)
#### Post date: [December 4, 2003, 11:09am UTC](https://forum.kirupa.com/t/help-with-volume-slider/36978/1 "2003-12-04T11:09:12Z")

</div>

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
