# Stop sound of as2 swf in as3 container

**URL:** <https://forum.kirupa.com/t/stop-sound-of-as2-swf-in-as3-container/308948>\
**Category:** flash\
**Created:** [May 3, 2010, 10:11pm UTC](https://forum.kirupa.com/t/stop-sound-of-as2-swf-in-as3-container/308948 "2010-05-03T22:11:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rondog](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rondog/32/2478_2.png) [@rondog](https://forum.kirupa.com/u/rondog)\
**Post date:** [May 3, 2010, 10:11pm UTC](https://forum.kirupa.com/t/stop-sound-of-as2-swf-in-as3-container/308948/1 "2010-05-03T22:11:57Z")

</div>

I saw another thread here that used the method of:

```php

myAS2swf.soundTransform = new SoundTransform(0);

```

Apparently that is supposed to just mute the AS2 swf and give it the appearance of it being stopped. I cannot get it to work for some reason.

I’ve added my loader to a movie clip called swfHolder:

```php

swfHolder.addChild(swfLoader); //---swfLoader = my loader class

```

when I remove the SWF, I do:

```php

swfHolder.soundTransform = new SoundTransform(0);

```

That is what isnt working. Either I am doing it wrong or this method just doesnt work…

Any other solutions for stopping sound in a AS2 swf loaded from AS3?
