Preloader

Hya all…
Noob introducing himself here and asking for “some” help for a preloader.
Ive watched the tuturials for preloaders u already have but i want one a bit “special”.
Okay…i want that this image ( http://www.yoda.arachsys.com/worms/wa/anims/gfx/cdrom.gif ) Begins at the start of the preloader…and when the loading ends…the image ends to… got it? so please help me…:sen:

If you don’t want it to repeat, you’re going to have to break the gif into pieces.

i dont mean that…i want it sincronized with the start of the loading and the end of the loading

if you ask me, thats a poor choice for a preloader.

whys that?

well, it sort of goes with that whole animated gif horror…unless that is what you wanted.

u still didnt get it.
Start preloading bar - Starts animation
Ends preloading bar - ends animation
Goes of to menu… thats that

i did ‘get it’, and i think with some honest work you can make a good preloader.

But the gif runs in constant time, while a preloader traditionally has a variable time.

uve got me confused… u mean…the animation wont stop? u mean thats not possible?

what’s the big deal? make it a sequence of 100 pics f.e
percent = int(getBytesLoaded()*100/getBytesTotal());
myPreloader.gotoAndPlay(percent);

And yea, it’s an ugly one.

…err thats a bit to much complex for me…explain that more detailed please=(

im telling you, make your own, itll be easier, and you can call it your own.

uhm? the script or the sequence-thing?

There are programs that will let you break an animated gif into several gifs. Then you use h.storm’s code.

The flash im going to make is with the sprites of worms…

Just import it into stage - flash will brake it up itself.

Wait let me show my code

bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent100;
this.loadText = Math.round(getPercent
100)+“%”;
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}

How cna i imput that into here

check this out
www.escapism.de/pre.rar

i cant openit