# Volume Slider for Dynamically Loaded SWF

**URL:** https://forum.kirupa.com/t/volume-slider-for-dynamically-loaded-swf/168870
**Category:** flash
**Created:** [November 10, 2005, 8:09pm UTC](https://forum.kirupa.com/t/volume-slider-for-dynamically-loaded-swf/168870 "2005-11-10T20:09:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sw33tdesign](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@sw33tdesign](https://forum.kirupa.com/u/sw33tdesign)
#### Post date: [November 10, 2005, 8:09pm UTC](https://forum.kirupa.com/t/volume-slider-for-dynamically-loaded-swf/168870/1 "2005-11-10T20:09:28Z")

</div>

I have successfully loaded “mySwf” and created buttons to stop and start the timeline. What I can’t seem to figure out is how to control the volume! I’ve looked at the tutorial here, but it wants to attach a sound – is there anyway to control the sound embedded in mySwf?

```auto
var container:MovieClip = createEmptyMovieClip("container", getNextHighestDepth());
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(this);
mcLoader.loadClip("mySwf.swf", container);

stop_btn.onRelease = function() {
    container.stop();
};
play_btn.onRelease = function() {
    container.play();
};

```

Thanks in advance.
