Okay, I have a little dilemma. I have built myself a site entirely in flash, which contains 3 scenes. A preloader scene, A intro and the actual site. How do you pros usually setup the preloader. I have it all coded but the problem is when i upload my site, you download 1 big .swf file instead of starting the preloader and having it load the site. So i go to my site, it takes a while to load and then you see 400k/400k loaded on the preloader part. Should i make each of the 3 scenes into a seperate .swf file and then use the load movie command? I use the getbytesloaded command and i dont know how to get the amount loaded from a different movie on from the scene.
Here is the simple code for the preloader.
onClipEvent (load) {
textPre = " ";
}
onClipEvent (enterframe) {
textPre = _root.getBytesLoaded() /1000 + “Kb” + “/” + _root.getBytesTotal() /1000 + “Kb”;
if (_root.getBytesTotal() == _root.getBytesLoaded() ) {
textPre = math.floor(_root.getBytesLoaded() /1000) + "Kb / " + math.floor(_root.getBytesTotal() /1000) + “Kb”;
}
}
Any suggestions on a work around…
(this is my first site ever so… im a newb)
Thx in advance for the replies.