# How do I keep loaded content from muting my SWF?

**URL:** https://forum.kirupa.com/t/how-do-i-keep-loaded-content-from-muting-my-swf/260970
**Category:** flash
**Created:** [May 21, 2008, 3:25pm UTC](https://forum.kirupa.com/t/how-do-i-keep-loaded-content-from-muting-my-swf/260970 "2008-05-21T15:25:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Rezmason](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rezmason/32/30447_2.png) [@Rezmason](https://forum.kirupa.com/u/Rezmason)
#### Post date: [May 21, 2008, 3:25pm UTC](https://forum.kirupa.com/t/how-do-i-keep-loaded-content-from-muting-my-swf/260970/1 "2008-05-21T15:25:03Z")

</div>

When you load an external SWF, Flash gives you some control over what the loaded content can and can’t do.

I’d like to know how to prevent loaded content from setting **SoundMixer.soundtransform**. My main code is responsible for controlling audio, and I don’t want loaded SWFs to mess with the global volume and pan. Any ideas?

---

<div class="post-metadata">

### Author: ![hoolagon](https://avatars.discourse-cdn.com/v4/letter/h/58956e/32.png) [@hoolagon](https://forum.kirupa.com/u/hoolagon)
#### Post date: [May 21, 2008, 10:01pm UTC](https://forum.kirupa.com/t/how-do-i-keep-loaded-content-from-muting-my-swf/260970/2 "2008-05-21T22:01:49Z")

</div>

why not just edit the external swf to remove the functions controlling the sound

---

<div class="post-metadata">

### Author: ![Rezmason](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rezmason/32/30447_2.png) [@Rezmason](https://forum.kirupa.com/u/Rezmason)
#### Post date: [May 22, 2008, 1:09am UTC](https://forum.kirupa.com/t/how-do-i-keep-loaded-content-from-muting-my-swf/260970/3 "2008-05-22T01:09:38Z")

</div>

My project loads in untrusted SWFS, presumably from other people. Good question. 🙂

---

<div class="post-metadata">

### Author: ![Rezmason](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rezmason/32/30447_2.png) [@Rezmason](https://forum.kirupa.com/u/Rezmason)
#### Post date: [May 22, 2008, 4:11am UTC](https://forum.kirupa.com/t/how-do-i-keep-loaded-content-from-muting-my-swf/260970/4 "2008-05-22T04:11:41Z")

</div>

\*\*UPDATE: \*\*For now, I’m going to regularly check the properties of SoundMixer.soundTransform, to see whether their values are what they should be. I think this is just a temporary fix; SoundMixer.stopAll() is limited to the security sandbox it belongs to, and I believe Flash should limit the jurisdiction of SoundMixer.soundTransform as well.
