I have a main .swf that's preloaded using the following:
onClipEvent (enterFrame) {
framesLoaded = (Math.ceil (( _parent.getBytesLoaded() / _parent.getBytesTotal()) * 100));
gotoAndStop (framesLoaded);
info.text = framesLoaded + "% completed";
if (framesLoaded >= 100) {
_root.gotoAndPlay (2);
}
}
I have an external swf loaded using:
_root.createEmptyMovieClip("container", 1);
loadMovie("externalmovie.swf", "container");
setProperty ("container", _alpha, "45");
container._x = 64 ;
container._y = 135 ;
Now, the problem!
I'm trying to preload the external swf in the same way I preloaded the main swf without it conflicting. Thanks to anyone who can help.....this has been driving me crazy! I've checked out a lot of tutorials, but none of them cover the way I'm trying to do this where the external swf preloads just like the main swf with no button event etc.....it just preloads when called. This seems like it should be so simple, but I have 3 hours gone that say othwerwise!