Hi guys…
… I’ve had my preloader successes already, but something still doesn’t work for the external movies…
I’m loading the main movie - which contains several chapters, loaded as external swf’s - with the following preloader on the first frame, rest content from second frame on:
// preloader action
stop();
myInterval = setInterval(preloader, 10);
function preloader() {
if (_root.getBytesLoaded()>=_root.getBytesTotal()) {
gotoAndStop(2);
//_root.lal_mc.gotoAndPlay(2);
clearInterval(myInterval);
}
preloader_txt.text = Math.round(getBytesLoaded()/getBytesTotal()*100)+"% loaded";
} ;
works fine, as you can see here.
Now I’m employing the same strategy for the external swf’s, loading them into a movieclip-holder, but it just doesn’t work… what am I doing wrong???
That’s the code I’m using to load:
//contact: plays contact movie
_root.menu_mc.contact_btn.onRelease = function() {
loadMovie("e_contact.swf", simpleviewer_mc);
};
Thanks for any help!
Fides