Hello Everyone,
This is a great site/forum & has already helped me out a lot. I appreciate all of the advice this site has already given me.
Following this tutorial http://www.kirupa.com/developer/mx/preloader_transition.htm I’m able to load external .swf’s (which contain video with audio) into an empty movie clip called “content”.
Problem:
I need to figure out how to unload these .swf’s. The funtions for the buttons are assigned in a frame on the timeline and looks like this:
b1.onRelease = function() {
if (_root.section != “welcome.swf”) {
_root.section = “welcome.swf”;
_root.transition.gotoAndPlay(“closing”);
}
}
Does the unloadMovie action go in the above button funtion or does it go into the “content” movie clip?
Here’s the actioscript for the “contect” mc.
onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
if (this.getBytesLoaded() == this.getBytesTotal()) {
loaded = true;
_root.transition.gotoAndPlay(“opening”);
}
}
}
I really appreciate all of your help. Thanks.