# Volume controller doesnt start music! HELP please

**URL:** https://forum.kirupa.com/t/volume-controller-doesnt-start-music-help-please/316940
**Category:** Uncategorized
**Created:** [December 6, 2010, 2:30pm UTC](https://forum.kirupa.com/t/volume-controller-doesnt-start-music-help-please/316940 "2010-12-06T14:30:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wallyl81](https://avatars.discourse-cdn.com/v4/letter/w/f04885/32.png) [@wallyl81](https://forum.kirupa.com/u/wallyl81)
#### Post date: [December 6, 2010, 2:30pm UTC](https://forum.kirupa.com/t/volume-controller-doesnt-start-music-help-please/316940/1 "2010-12-06T14:30:52Z")

</div>

Hi, I have a volume controller with a simple play and stop button. I want music to start on its on when site is loaded, but music deosnt start unless play is pressed and volume is turned up.  
Thia is the script I have, how do I change it simply to make to song start automatically when site loads???

onClipEvent (load) {  
mySound = new Sound();  
mySound.loadSound(“nachomp3.mp3”, false);  
}  
onClipEvent (enterFrame) {  
downloaded = mySound.getBytesLoaded();  
total = mySound.getBytesTotal();  
if (downloaded != total) {  
\_root.dl = “downloading song…”;  
} else {  
complete = 1;  
\_root.dl = “”;  
}  
mySound.setVolume(\_root.volume);  
}
