Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

51 users online



!!!HELP!!URGENT!!PRELOADER!!!

!!!HELP!!URGENT!!PRELOADER!!!

Currently viewing this thread: 1 (0 members and 1 guests)


MrBoom

MrBoom

Status: Offline!

!!!HELP!!URGENT!!PRELOADER!!!

i am so desperate now. and i need this help ASAP!!

http://adam.ezy.com.au/tfg

this site is basically complete, but i need to add a preloaader to load the whole thing..
it will be about 500kb...

i have, index.html.. this holds index.swf..

index.swf loads, all other things into it, i.e. home.swf, about.swf, etc..

i need to get a preloader to load EVERYTHING!!!
including index.swf...
so i want the site to go to index.htm, then it says loading blah blah.. then when it is 100%, thye have all images used, all .swf files, so its quick to browse the site...
please any help would be greatly appreciated, and due to my slow internet, i cant really browse internet to find a tut(i have cable, but went over the download limit, and am cut down to 28.8k)..

so please, if anyone can help, or give me a direct link to a tutorial...

___________________


http://adam.ezy.com.au/temp/grungesig.gif

JBB

JBB

Score
Status: Offline!

Here's an example .

i have a main file ( index.swf ) and 2 external movies. ( t2.swf and t3.swf )

load your movies into movieclip holders

PHP:

<?php

frame 1 
:

movie2_mc.loadMovie"t2.swf" )
movie3_mc.loadMovie"t3.swf" )

?>

Now in frame 2, we calculate the % of the loading of the 3 movies into a variable called percentage

PHP:

<?php

frame 2

percentage 
int ( ( _root.getBytesLoaded() + movie2_mc.getBytesLoaded() + movie3_mc.getBytesLoaded() ) /
                  ( 
_root.getBytesTotal() + movie2_mc.getBytesTotal() + movie3_mc.getBytesTotal() )  * 100 );

?>

PHP:

<?php

frame 3

if ( percentage 99 ) {
    
gotoAndPlay );
} else {
    
gotoAndPlay );
}

?>

hope this helps!

good luck

___________________

http://www.parillo.ca/images/web/sparillo.gif

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0074 seconds.