# What am I doing wrong?

**URL:** <https://forum.kirupa.com/t/what-am-i-doing-wrong/163178>\
**Category:** Uncategorized\
**Created:** [September 20, 2005, 2:24pm UTC](https://forum.kirupa.com/t/what-am-i-doing-wrong/163178 "2005-09-20T14:24:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nasier](https://avatars.discourse-cdn.com/v4/letter/n/839c29/32.png) [@Nasier](https://forum.kirupa.com/u/Nasier)\
**Post date:** [September 20, 2005, 2:24pm UTC](https://forum.kirupa.com/t/what-am-i-doing-wrong/163178/1 "2005-09-20T14:24:06Z")

</div>

On frame 1 from the root I’ve the following script:

[AS]  
menuRollOver = new Sound();  
menuRollOver.attachSound(“sfx-bttn-038”);  
menuRollOver.setVolume(90);

menuOnPress = new Sound();  
menuOnPress.attachSound(“sfx-bttn-032”);

WhenTextAppears = new Sound();  
WhenTextAppears.attachSound (“sfx-swit-028”);  
WhenTextAppears.setVolume(5);

stop();  
[/AS]

For some reason all three sound objects play at 5% of the volume (the volume that was set for “WhenTextAppears”). I want to controle the volume of the 3 objects seperatly,… I thought the code above should do the trick but it doesnt.

Can someone please point of for me what Im doing wrong?

Thanks already,

Nasier
