Need clarification on this unload external MC problem!

My problem is exactly the same as this person’s:

I have an external swf for a pictures section, but when I click on another part of the page, it overlaps instead of disappears.

Now I tried the code given:

target.removeMovieClip();

//or

removeMovieClip(target);

it actually appears more like:

on (release) {
removeMovieClip(target);
}

when i put it in AS

but I’m not sure where or if I’m doing it right. I’m guessing that “target” was the instance name of the empty movie? So where do I actually put this code- on every button to another section?

I really appreciate any help. This is probably nothing to you flash gurus out there!