all groups > macromedia flash sitedesign > september 2005 >
You're in the

macromedia flash sitedesign

group:

how to use unload movie for and external swf file in my main movie?


how to use unload movie for and external swf file in my main movie? mvz2005
9/14/2005 12:00:00 AM
macromedia flash sitedesign:
Hi there
I have a set of small thumbnails (as buttons) next to eachother, that have a
mouseover action to preview a bigger photo of the thumbnail. The bigger photo
loads as an external swf file using on mouseOverloadmovieNum("clip.swf") into
level one I think.
that works fine, even when I mouseover the next thumbnail the other bigger
photo (swf file) dissapears and shows the new photo. But I need them to clear
when you move to other buttons within the scene, but they stay there.
I know it is probably something like unloadmovie, can someone give me the
correct code for doing this and do I need to insert it before or after the
loadmovieNum action of each swf file?
and do I need to load the swf files into different levels rather?
HOPE THIS MAKES SENSE
help appreciated

thanks!
Re: how to use unload movie for and external swf file in my main movie? macron
9/14/2005 12:00:00 AM
presumably you have a holder movieclip that you're loading your external swfs
into.

if your holder were called 'holder', you would put the following script on
each of your thumbnails:

holder.unloadMovie();
AddThis Social Bookmark Button