# Attaching multiple sound problem

**URL:** <https://forum.kirupa.com/t/attaching-multiple-sound-problem/183508>\
**Category:** flash\
**Created:** [March 27, 2006, 7:15pm UTC](https://forum.kirupa.com/t/attaching-multiple-sound-problem/183508 "2006-03-27T19:15:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adityadubey](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@adityadubey](https://forum.kirupa.com/u/adityadubey)\
**Post date:** [March 27, 2006, 7:15pm UTC](https://forum.kirupa.com/t/attaching-multiple-sound-problem/183508/1 "2006-03-27T19:15:32Z")

</div>

hi! I am using attachSound to attach multiple sound through the library into different variables. But when I try to use setVolume, I get the same volume for all the sounds playing at that time. Can anyone help me here?  
Thanks!

---

<div class="post-metadata">

**Author:** ![kortexvfd](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@kortexvfd](https://forum.kirupa.com/u/kortexvfd)\
**Post date:** [March 27, 2006, 8:19pm UTC](https://forum.kirupa.com/t/attaching-multiple-sound-problem/183508/2 "2006-03-27T20:19:12Z")

</div>

how are you implementing the set volume?

---

<div class="post-metadata">

**Author:** ![adityadubey](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@adityadubey](https://forum.kirupa.com/u/adityadubey)\
**Post date:** [March 27, 2006, 8:55pm UTC](https://forum.kirupa.com/t/attaching-multiple-sound-problem/183508/3 "2006-03-27T20:55:31Z")

</div>

VARIABLENAME.setVolume(VALUE);

i have different variables for different soundfiles from the library.

---

<div class="post-metadata">

**Author:** ![adityadubey](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@adityadubey](https://forum.kirupa.com/u/adityadubey)\
**Post date:** [March 28, 2006, 9:52am UTC](https://forum.kirupa.com/t/attaching-multiple-sound-problem/183508/4 "2006-03-28T09:52:04Z")

</div>

i have the setVolume for different variables on different keyframes if that’s what you wanted to know :puzzle:  
Any idea?

---

<div class="post-metadata">

**Author:** ![kortexvfd](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@kortexvfd](https://forum.kirupa.com/u/kortexvfd)\
**Post date:** [March 28, 2006, 12:48pm UTC](https://forum.kirupa.com/t/attaching-multiple-sound-problem/183508/5 "2006-03-28T12:48:35Z")

</div>

thats odd, it should work if you are setting them for the individual sound objects as far as I know, but I have never actually tried it.
