This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > March 2004 > Preloader





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Preloader
fatnslow

2004-03-30, 9:08 pm

Anyone know how, and can explain, how i can have at the frist page, index or so, pre-loader which loads the whole site?so it doesnt take long time to navigate and stuff...
fasterthanlight

2004-03-30, 9:08 pm

[L=Flashkit]http://www.flashkit.com[/L] has some really good tutorials for preloaders, my favourite is one called "Creating an advanced preloader in flash" or something like that

creativity06

2004-03-30, 9:08 pm

Try this:

1. Place a blank key frame at frame 1.
2. Then have your movie on frame 2 and frame 3 ..etc.
3. Back at frame 1, we want to have the movie wait until the entire movie has
been loaded before continuing to frame 2. So start by placing a stop ( )
command on the frame.
4. Create a simple shape, convert it to a movie clip, and move it off the
screen, Assign this script to it:

onClipEvent (enterFrame) {
bytesLoaded = _root.getBytesLoaded();
bytesTotal = _root.getBytesTotal()
percentLoaded = Math.round(100*bytesLoaded/bytesTotal);
_root.displayText = "Loading: "+percentLoaded+"%";
if (bytesLoaded == bytesTotal) {
_root.play();
}
}

5. Then create a dynamic text field and link it to the variable displayText

Thats it!



Todd

2004-03-30, 9:08 pm

http://www.kirupa.com has a good tutorial or two on preloaders as well.

"fatnslow" <webforumsuser@macromedia.com> wrote in message
news:c44jcd$6sv$1@forums.macromedia.com...
> Anyone know how, and can explain, how i can have at the frist page, index

or so, pre-loader which loads the whole site?so it doesnt take long time to
navigate and stuff...


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews