# Video Controller for dynamic swf?

**URL:** <https://forum.kirupa.com/t/video-controller-for-dynamic-swf/277045>\
**Category:** flash\
**Created:** [December 6, 2008, 6:09pm UTC](https://forum.kirupa.com/t/video-controller-for-dynamic-swf/277045 "2008-12-06T18:09:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![realdoyle](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@realdoyle](https://forum.kirupa.com/u/realdoyle)\
**Post date:** [December 6, 2008, 6:09pm UTC](https://forum.kirupa.com/t/video-controller-for-dynamic-swf/277045/1 "2008-12-06T18:09:04Z")

</div>

FLASH MX/1.0  
I was wondering if anyone knew a way to use [[COLOR=#810081]this videoController component[/COLOR]](http://www.wildform.com/support/tutorials/muzak/) with dynamically loaded swf files? I need a video controller (play/pause) for 7 external videos I am dynamically loading into the site.  
I currently have an empty movie clip (named “container”) and a button (named “but”). On another layer I have this script which loads the external “reel\_swf.swf” movie in the “container” movie clip:

but.onPress = function () {  
\_root.createEmptyMovieClip(“container”, 1);  
loadMovie(“reel\_swf.swf”, “container”);  
container.\_x = 126 ;  
container.\_y = 224 ;  
}

I tried linking the VideoControl component to the “container” movie clip, in hopes that it would control the playback for any video loaded in the container, but that is not working. I would be grateful for any help on this. I am using Flash MX/1.0.

PS: Here is the site that I am working on. You can click on the “Video/Music” tab to see the page in question: [[COLOR=#810081]http://www.tmdphotography.com/packer/Packer%20flash%20site8.swf[/COLOR]](http://www.tmdphotography.com/packer/Packer%20flash%20site8.swf)
