FLASH MX/1.0
I was wondering if anyone knew a way to use this videoController component 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]