PDA

View Full Version : how to make such preloader anyone..?



pixeldude
January 10th, 2005, 06:00 AM
ello is there anyone out there have idea how to make such preloader...


as u can see here...

THE PRELOADER (http://www.clcsarquitectos.com/main_en.html)



all i can do is doing usual preloader code...


stop();
function preload(){
bytesLoaded = _root.getBytesLoaded();
bytesTotal = _root.getBytesTotal();
percent = Math.round(100*bytesLoaded/bytesTotal); myText.text = percent+"%";
if (bytesLoaded>=bytesTotal && bytesLoaded>0) { clearInterval (STInterval);
gotoAndStop(3);
}

}
STInterval = setInterval (preload, 100);


and the rest is bump!!..is there anyone can help me to figure out...

Ryall
January 10th, 2005, 07:04 AM
sorry, but I didnt see anything special there.... Im on Broadband so maybe I missed part? What exactly are you trying to create?

Peace

Rockstar
January 10th, 2005, 02:45 PM
me too, but I guess you wanna do a partial preloader? what I mean by partial is that.. if it's 25 do this, if its 45 do this and so on?

if so its pretty ez, you can use if else statement to do this..

if (percent==25) {
_root.thisMC.gotoAndPlay(1)
} else if ...

and so on and so on.

i believe there is another way to do this, but i guess you can try that first

perpetualtruth
January 10th, 2005, 04:19 PM
you should check out the tweened preload tutorial.

pixeldude
January 10th, 2005, 10:38 PM
sorry, but I didnt see anything special there.... Im on Broadband so maybe I missed part? What exactly are you trying to create?

Peace

i think u haven't look the preloader effect....the bar for the preloader load and rescale based on the percentage and place it with bounce effect...hope u got the picture...


thkns