Hi
I have a site which when exported is about 5M. (biggish) It has ab out 8 scenes, the first of which is a preloader.
On the clients server its taking about 10 second for the preloader to do its business. (On my server its taking about 3)
The preloader code is:
stop();
var myInterval:Number;
myInterval = setInterval(preloader,100);
//edBlock._xscale=50;
function preloader() {
var currentBytes = _root.getBytesLoaded();
var total = _root.getBytesTotal();
var pctLoaded = Math.round((currentBytes/total)*100);
pct_txt.text = pctLoaded;
//trace ("pct="+pctLoaded);
edBlock._xscale=pctLoaded;
if (currentBytes >= total) {
gotoAndPlay ("intro",1);
clearInterval (myInterval);
}
}
Is there some way of getting it to load say just the preloader and the next scene or two and then to load the next scenes in the background whilst the viewer gaze in wonderment at the first scene?
thanks in advance