# Sound preloader bar

**URL:** <https://forum.kirupa.com/t/sound-preloader-bar/155501>\
**Category:** Uncategorized\
**Created:** [July 18, 2005, 12:36pm UTC](https://forum.kirupa.com/t/sound-preloader-bar/155501 "2005-07-18T12:36:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hoteurochick](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@hoteurochick](https://forum.kirupa.com/u/hoteurochick)\
**Post date:** [July 18, 2005, 12:36pm UTC](https://forum.kirupa.com/t/sound-preloader-bar/155501/1 "2005-07-18T12:36:18Z")

</div>

is any way to make a preload **bar** for loadSound command where:

[size=1]//actions:[/size]  
[size=1][/size]  
[size=1]w = new Sound();  
w.attachSound(“crossroads”);  
w.start(0, 100);[/size]  
[size=1]x = new Sound();  
y = new Sound();  
z = new Sound();[/size]

[size=1]//where button 1:[/size]  
[size=1][/size]  
[size=1]on (release) {  
x.stop();  
x.start(0, 5);  
}[/size]

[color=black] **for button2:** [/color]

on (release) {  
stopAllSounds();  
x.loadSound(“music2.mp3”, true);  
}

?  
I can not make it to work…
