# Problem controling 2 sounds in Flash

**URL:** <https://forum.kirupa.com/t/problem-controling-2-sounds-in-flash/215425>\
**Category:** flash\
**Created:** [February 7, 2007, 8:00am UTC](https://forum.kirupa.com/t/problem-controling-2-sounds-in-flash/215425 "2007-02-07T08:00:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobijas20](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@tobijas20](https://forum.kirupa.com/u/tobijas20)\
**Post date:** [February 7, 2007, 8:00am UTC](https://forum.kirupa.com/t/problem-controling-2-sounds-in-flash/215425/1 "2007-02-07T08:00:23Z")

</div>

Hi,

I have some strange problem while using more than one sound that I want control.

```auto

var myMusic:Sound = new Sound();
myMusic.attachSound("music1");
myMusic.start(0, 999);
myMusic.setVolume(50);
 
var speach:Sound = new Sound();
speach.attachSound("speach1");
speach.start(0, 999);
speach.setVolume(50);
 
bttn.onRelease = function(){
 myMusic.setVolume(5);
}

```

When I try to reduce sound volume of 1 sound, volume of all sounds is beeing reduced?!  
What am I doing wrong?

The same situation is when I use tween comands like: this.myMusic.volumeTo(5, 1, “linear”);
