Loading external swifs

hello Im loading external siwfs using the code of kirupa tutorials as shown below

on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “FINISHED”;
container.loadMovie(“FINISHED.swf”);
} else if (_root.currMovie != “FINISHED”) {
if (container._currentframe >= container.midframe) {
_root.currMovie = “FINISHED”;
container.play();
}
}
}

However I can still click the underlying buttons on the previous page.

is there anyway to disable these buttons or unload the previous page?

If your loading them into “container”, then the newly loaded one will replace the previous one. If you want to unload a movie, then its just


container.unloadMovie()

Also, please try to use the code tags, for example:
[noparse]

your code here

[/noparse]

This will make your code easier to read and might help others find the problem faster. :thumb: