Unloading a streaming movie

Hello,

I’m building a media player that can play .flv streaming files as well as .swf files. I’m looking for a way to unload a .flv streaming movie when it finishes playing.

Is there a graceful way of doing this?

Thanks,
Clem