Jim Curtis
01-17-2007, 06:33 PM
Please can somebody check this preloader script?
My flash file scene is 1.170kb, and it's the only file combined with dreamweaver to give me my homepage.(nothing else is on the page)
When viewed on line (broadband) the preloader bar loads in under 10 secs and then the homepage opens and plays, the big problem is, the contained flash file scene is very slow at playing meaning the music contained within it, is very out of sync! Please help me resolve it!
Here is the script:
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int(loaded/total*100);
text = percent+"%";
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndPlay(2);
}
}
ps the initial flash file scene contains 332 items, is this to many?, and what does linkage mean???:confused:
Thanks Jim.
My flash file scene is 1.170kb, and it's the only file combined with dreamweaver to give me my homepage.(nothing else is on the page)
When viewed on line (broadband) the preloader bar loads in under 10 secs and then the homepage opens and plays, the big problem is, the contained flash file scene is very slow at playing meaning the music contained within it, is very out of sync! Please help me resolve it!
Here is the script:
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int(loaded/total*100);
text = percent+"%";
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndPlay(2);
}
}
ps the initial flash file scene contains 332 items, is this to many?, and what does linkage mean???:confused:
Thanks Jim.