# Change Preloader Animation Based On Internet Speed?

**URL:** <https://forum.kirupa.com/t/change-preloader-animation-based-on-internet-speed/312383>\
**Category:** flash\
**Created:** [August 2, 2010, 1:32am UTC](https://forum.kirupa.com/t/change-preloader-animation-based-on-internet-speed/312383 "2010-08-02T01:32:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![popnfresh24](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@popnfresh24](https://forum.kirupa.com/u/popnfresh24)\
**Post date:** [August 2, 2010, 1:32am UTC](https://forum.kirupa.com/t/change-preloader-animation-based-on-internet-speed/312383/1 "2010-08-02T01:32:34Z")

</div>

I think the title pretty much sums it up…

I have 4 animations and based on the speed of the internet i want it to change between each depending on the speed.

e.g…

0 - 10kb/ps - 1st MC  
11 - 30kb/ps - 2nd MC  
31 - 50kb/ps - 3rd MC  
50+ - 4th MC

My idea is to have like a glass of water… and for the 1st MC the water filling it up is only a drip… and then 2nd MC is a slow stream of water etc etc and then final MC is water gushing in filling the cup up faster until it’s full…

I think this might be a bit hard for me… as i can’t even make a preloader… everytime i try the SWF file just stays blank until it’s fully loaded… haha… but i’ll read tutorials and stuff… i’m rather basic with Flash and just learn what i need to learn as i get to it… I also need the transition between each change (say from 1-10kbps - 51+) to be smooth rather than just having it going from a drip to gushing water… but i think i’ll just have to make animations for each and then IF statements to deal with that issue…

Any ideas for how to measure the speed???

Thanks

Jesse
