Load movie question

I’m making a site in flash, and i use:
on(release) {


to load external .swf files into empty movie clips…

How can i alter the AS so that if that movie is already loaded, it won’t load it again?

Stick it in a level.

on(release) {
_root.main.loadMovieNum(“main.swf”, 1);

This way once it is loaded into level one it will stay or unload automatically ONLY when a new content swf is placed into level 1 to replace it.

Using this method you do not need to unloadMovie(); again.

Hopefully this is what you want. If more needed please post again.