all groups > flash actionscript > july 2006 >
You're in the

flash actionscript

group:

preloader problem


preloader problem udikeren
7/31/2006 7:37:32 PM
flash actionscript:
i put an preloader on scene1 as follows:
onClipEvent(enterFrame){
framesLoaded=Math.ceil((_root.getBytesLoaded()/_root.getBytesTotal())*100);
gotoAndStop(framesLoaded);
info.text=framesLoaded+"% ";
if(framesLoaded>=97){
gotoAndPlay(2);

}
}
it works - however it starts to be shown only in 60% -
how can i make it stars at 0% ?


Re: preloader problem Jon Moyles
8/1/2006 1:55:05 AM
my guess is you have some sound in your library that has "export in first
frame" selected in its 'linkage' properties. that means it has to load these
sounds before anything displays. that would produce an effect like you descibe.

AddThis Social Bookmark Button