Unloading a movie / closing window

hi,

i have a simple structure: a few buttons, each of them loads a different movie which is basically a box with some content and a close button.

all the movies have a little transition and use the midFrame script.

is there a way to get the close button to play the out transition and then unload the movie?

if i just do the transition and stop (with the movie being invisible), the other buttons will only load this one movie that the first button i pressed loads.

so… how can i close the current movie withough messing up the others?

thanks!