# Controlling sound in a different \_level

**URL:** https://forum.kirupa.com/t/controlling-sound-in-a-different--level/143776
**Category:** Uncategorized
**Created:** [April 8, 2005, 2:55pm UTC](https://forum.kirupa.com/t/controlling-sound-in-a-different--level/143776 "2005-04-08T14:55:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cconcannon](https://avatars.discourse-cdn.com/v4/letter/c/e9c0ed/32.png) [@cconcannon](https://forum.kirupa.com/u/cconcannon)
#### Post date: [April 8, 2005, 2:55pm UTC](https://forum.kirupa.com/t/controlling-sound-in-a-different--level/143776/1 "2005-04-08T14:55:46Z")

</div>

I have a loaded SWF file in \_level1 that has audio in the timeline. I am trying to control the volume of this loaded SWF with a ‘mute’ button in the main SWF file. On the first frame I’m using the code:  
**my\_sound = new Sound(\_level1);**  
and then on the button script I have:  
**mute\_btn.onPress = function(){  
my\_sound.setVolue(0);//mute volume**  
**}**  
but it’s not working. Am I missing something? Is the **new Sound(\_level1)** not valid?

-C
