Hi
The coding below works fine for preloading the entire .swf before making it available within the main presentation, but occassionally I have need to only preload half the content because by the time the main presentation has called up and gone through its 'launching' sequence - the rest of the .swf has time to load, so to make the loading faster, how would I go about altering the code to do just this?
//this preloader is in a .swf that is called up via the main .swf at the very start and put on 'hold' until it called into action by the viewer with a button press/release.
ActionScript Code:
total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
percent_done = int((loaded_bytes/total_bytes)*100);
var loadAmount = _totalframes;
if (_framesloaded == loadAmount) {
gotoAndPlay(3);
_level0.nextFrame();
}
I would also like to keep the % counter, but give the illusion that when it says 100% loaded, actually only 50% has.
Thanks for your time to read this, I am sorry I dont make many posts, but I am rather basic in my knowledge and all the easy questions are already answered by the time I see them. Still, next time this question is posted, maybe I can help out too