On onload?

Is there a way to create something like an “on unloadMovie”-script?

I mean, something that can do this:
if the current movie is unloaded, do this or do that…

But if a movie isn’t loaded, how can it be the current movie? Or am I just being pedantic and misunderstanding this? <img src=http://www.ezboard.com/intl/aenglish/images/emoticons/ohwell.gif ALT=":">

What are you trying to do exactly? In what circumstances?

onClipEvent (unload){}

works… but only for movie clips, as far as I know.