# 2 question on playing sounds

**URL:** <https://forum.kirupa.com/t/2-question-on-playing-sounds/18093>\
**Category:** flash\
**Created:** [April 13, 2003, 4:50am UTC](https://forum.kirupa.com/t/2-question-on-playing-sounds/18093 "2003-04-13T04:50:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Optical](https://avatars.discourse-cdn.com/v4/letter/o/3be4f8/32.png) [@Optical](https://forum.kirupa.com/u/Optical)\
**Post date:** [April 13, 2003, 4:50am UTC](https://forum.kirupa.com/t/2-question-on-playing-sounds/18093/1 "2003-04-13T04:50:55Z")

</div>

i have 4 tracks and i load them in 4 external swf, can i create a volume slider on this tracks?

As for the other question, I have created a jukebox in my main movie with the use of loading sounds via actionscript, I have 5 buttons, 1 2 3 4 and off the problem is that when i pressed button 1 the music plays but when i press it again the music plays again making the an overlap with the same music, how can i solve this probs, i tried looking on the tutorials here and in flashkit but i can’t seem to find one.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 13, 2003, 6:03am UTC](https://forum.kirupa.com/t/2-question-on-playing-sounds/18093/2 "2003-04-13T06:03:27Z")

</div>

second question :: are you loading the external movie clips to targets or levels, well either way whatever is in the level or target should be replaced by whatever else is selected in its place. SAy if you had sound 1 loaded into Level1 in flash , when you select sound1 button again, it will tell it to load sound1.swf, replacing whatever is in the level1 even if it is the same swf

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 13, 2003, 6:18am UTC](https://forum.kirupa.com/t/2-question-on-playing-sounds/18093/3 "2003-04-13T06:18:50Z")

</div>

no i didn’t use external swf in my 2nd question, i did it via attachsound, i want it to that when song no1 is playing, whenever i pressed another button e.g. button for song no.2 song 1 will stop and song 2 will play,and if i pushed button 2 nothing should happen coz its already playing. i can’t figure out how to make it happen, pls. help

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 13, 2003, 6:20am UTC](https://forum.kirupa.com/t/2-question-on-playing-sounds/18093/4 "2003-04-13T06:20:41Z")

</div>

search the forums for attachsound.
