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
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