all groups > macromedia flash sitedesign > june 2007 >
You're in the

macromedia flash sitedesign

group:

Loaded movie stays when site refreshed


Re: Loaded movie stays when site refreshed michaeltowse
6/5/2007 12:00:00 AM
macromedia flash sitedesign:
you could have an unload command on the first frame of your flash movie to clear the existing material, maybe within the preloader code so it only runs the once.

Loaded movie stays when site refreshed badplanetkevin
6/5/2007 1:38:14 AM
I am working on a website using mostly the loadMovie actionscript below. It is
applied to the buttons on the page so it loads on a released state. It loads
into an empty movie clip I have placed on the page. The main swf file which
loads the other swf filespage, doesn't have the content until you click on the
buttons.

on (release) {
loadMovie("type.swf", this.mc_home);
}

The problem I'm having, is that while the execution of that code is fine for
each button, when you refresh the page, the content that was previously there
in the empty movie clip, stays on the page.

Is there a delete option that empies that movie clip as the page loads?
AddThis Social Bookmark Button