aldred
06-09-2005, 04:39 PM
Hi
I have a slideshow using screens being cued by an flv (audio only) loaded using a MediaDisplay component.
This slideshow swf is loaded on a button release into a container movie using ....
_parent.content_mc.createEmptyMovieClip("slideshow", 10);
_parent.content_mc.slideshow.loadMovie("swf/slideshow.swf");
I then have another button to remove the created movie ....
removeMovieClip(_parent.content_mc.slideshow);
This removes the screen slideshow visuals, but the flv narration continues to play. Why is this? I would have expected that it would be removed along with the swf that contained it. Also, if I try to just stop the audio then play again when I restart the slideshow, this doesn't work.
So my question is .... how can I stop the flv playing when I remove it's parent movie (ie *completely* unload slideshow.swf) so that slideshow.swf is initialised and ready to be loaded again? Or supposing I keep the slideshow in memory and just make it invisible, how would I reset it in this case?
thanks
mark
I have a slideshow using screens being cued by an flv (audio only) loaded using a MediaDisplay component.
This slideshow swf is loaded on a button release into a container movie using ....
_parent.content_mc.createEmptyMovieClip("slideshow", 10);
_parent.content_mc.slideshow.loadMovie("swf/slideshow.swf");
I then have another button to remove the created movie ....
removeMovieClip(_parent.content_mc.slideshow);
This removes the screen slideshow visuals, but the flv narration continues to play. Why is this? I would have expected that it would be removed along with the swf that contained it. Also, if I try to just stop the audio then play again when I restart the slideshow, this doesn't work.
So my question is .... how can I stop the flv playing when I remove it's parent movie (ie *completely* unload slideshow.swf) so that slideshow.swf is initialised and ready to be loaded again? Or supposing I keep the slideshow in memory and just make it invisible, how would I reset it in this case?
thanks
mark