# Preloader acting like buffer of video

**URL:** https://forum.kirupa.com/t/preloader-acting-like-buffer-of-video/184763
**Category:** flash
**Created:** [April 7, 2006, 3:28pm UTC](https://forum.kirupa.com/t/preloader-acting-like-buffer-of-video/184763 "2006-04-07T15:28:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)
#### Post date: [April 7, 2006, 3:28pm UTC](https://forum.kirupa.com/t/preloader-acting-like-buffer-of-video/184763/1 "2006-04-07T15:28:51Z")

</div>

I have a SWF with about 5MB of video in it, and the preloader is going to be there, but I´d like to try a preloader that plays the movie when most part of it have had been loaded.  
I was thinking about an equation that takes the time the movie loaded 50% of it and then estimates the other 50%. If it´s fast enough = play, otherwise, keep loading until the (speed/bites to be loaded) balanced is OK for the video not to stop.

I have the idea but don´t know how to do it.  
Does anybody has any clues or tutorials?  
Thanks :red:
