Flv-movie clip issue

Hi folks, this is my first querry on kirupa so please bear with me.

I’m looking for help to unload a movie clip automatically after the flv file in the clip is finished playing. I’m just using “loadMovie” to start the clip. The clip that contains the flv(Paul.swf) simply uses the flv playback component. I can unload the clip with a button but I need it to unload on its own upon completion if possible.

I’m sure this is pretty basic for most of you but I love the program and am trying to learn as much as I can but I’m not a programmer by any means.

Any advice will be greatly appreciated.

stop();
loadMovie(“Paul.swf”, mcPaul);

btnStopMovie.onRelease = function() {
mcPaul.unloadMovie(“Paul.swf”, mcPaul)
}