I’m making a site in flash, and i use:
[AS]
on(release) {
_root.main.loadMovie(“main.swf”);
}
[/AS]
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?
I’m making a site in flash, and i use:
[AS]
on(release) {
_root.main.loadMovie(“main.swf”);
}
[/AS]
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.
–jmac
:: Copyright KIRUPA 2024 //--