PDA

View Full Version : Smooth (Easing) Preload Bar



simplistik
June 9th, 2005, 09:47 PM
Ahhh... today is a happy day for me. I'm surely no Voets, Seno, or scotty... but I did do something that I would consider good :hugegrin: And I get to start a thread in Source/Experiments... I feel special.

Somone had asked me a question about my preloader on one of my sites and I figured I'd knock out to birds w/ one stone:
http://www.kirupa.com/forum/showthread.php?t=99712

quick question. ur preloader, seems like it eases. is it an actual preloader or just an animation, and if it is, how did u construct it to ease? my guess would be made a 100 frame animation and eased the animation, then just told the mc to go to the frame that the percentage was currently on, and on broadband it gives it the effect of easing? i recall a tutorial on actionscript.org that did easing preloaders, but they didnt work in 2004 and i've been looking for a code driven version of this since. what i just described is the only alternative method i could think of, so im just wondering if thats what you did.
Well techincally my preloader doesn't ease at all. It just functions exactly how it should. The reason the Kirupa preloader is choppy is because it bounces between frames... causing it to lag up a little (at least that's my theory). I didn't do the 100 frame animation trick... I didn't even know such a thing existed. However, I did see the AS.org "easing" preloader... and yes I too was frustrated at not being able to use it in FMX04. So instead of bothering one of the AS guru's I took about 1hr out of my day and figured this out. Essentially all I did was take the Kirupa preloader, and the AS.org preloader and sorta... mix them together.

The coding was rather simple. It had to be as I'm an AS newb :lol:. When I see code I can break it down and decipher it... but I can't do things from scratch.

I'm surprised that there hasn't been a solution posted prior to this... if there has I couldn't find it.

You can see the demo here:
http://www.beyondthepixel.com/experiments/pload/
You can download here:
http://www.beyondthepixel.com/experiments/pload/simp_pload04.zip

Hopefully there aren't many questions because I prolly can't answer them :P.

j/k ask away

unchew
June 9th, 2005, 09:51 PM
Wow that is ver smooth!

booler
June 10th, 2005, 10:25 AM
nice score! simpli your better at as than you admit to :D

[uber]
June 10th, 2005, 11:29 AM
Bout freakin time i learned how to make a proper preloader...lol... thanks simp...

GW02
June 11th, 2005, 04:22 AM
It's awesome and all, but is it just me or did it load to 196%? :h:

simplistik
June 11th, 2005, 11:40 AM
It's awesome and all, but is it just me or did it load to 196%? :h:
definately just you

conceptioN
June 11th, 2005, 05:17 PM
thanks simplistik!!! :)

Krilnon
June 11th, 2005, 05:45 PM
I didn't notice any difference...

trundrumbalind
June 11th, 2005, 08:07 PM
Yeah, it jumped the odd time for me too

hl
June 11th, 2005, 09:05 PM
how'd you make it on that church preview. that looked awesome, moving mask?

paddy.
June 11th, 2005, 09:31 PM
Gradient. Just make a rectangle with a gradient and make it the preloader bar.

Lukus
June 11th, 2005, 10:03 PM
I don't get it ... Just loads normally for me, I'm on a 2.2Mbps connection ...

gotemgreat
June 11th, 2005, 10:39 PM
Yeah, it doesn't do anything special for me either... what's the dealio:puzzled:

hl
June 12th, 2005, 12:21 AM
Gradient. Just make a rectangle with a gradient and make it the preloader bar.
wow... yay :). i never saw that you can make gradients in flash

3pinter
June 12th, 2005, 05:38 PM
Simp,

Nice work!!


3Pinter
:smirk:

mprzybylski
June 14th, 2005, 02:43 PM
as simp and i discussed it doesnt give the same effect that i thought i saw on the church preloader. the best way i know how to do it is described in that thread where i asked the question.

ash
June 22nd, 2005, 04:03 PM
loads as any normal preloader for me... i mean 'not easing' ... am on 128Kbps ADSL :(

Digitalosophy
June 24th, 2005, 02:49 PM
Well it's not going to ease like you guys are thinking... It's just not choppy like 98.99% of the preloaders out thurrr.


I did this once too but I forget for which site. Good job simp :kommie:

Seb Hughes
June 25th, 2005, 01:04 PM
Very Good Matey

MaToMaStEr
June 25th, 2005, 01:43 PM
I don't see the diference between this and a normal preloader

gfxwhore
June 25th, 2005, 09:28 PM
Yeh - doesn't seem very smooth at all. It jerks from one percentage to the next

unchew
July 8th, 2005, 06:55 PM
How may I adapt it to work on a loaded movie, I can't use _root. because it will target the main movie... :S

VersusMG
July 9th, 2005, 01:33 AM
_parent