# Help seeking a progressive download FLV

**URL:** https://forum.kirupa.com/t/help-seeking-a-progressive-download-flv/273360
**Category:** flash
**Created:** [October 14, 2008, 7:44pm UTC](https://forum.kirupa.com/t/help-seeking-a-progressive-download-flv/273360 "2008-10-14T19:44:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rondog](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rondog/32/2478_2.png) [@rondog](https://forum.kirupa.com/u/rondog)
#### Post date: [October 14, 2008, 7:44pm UTC](https://forum.kirupa.com/t/help-seeking-a-progressive-download-flv/273360/1 "2008-10-14T19:44:08Z")

</div>

I have a built a mp3/video player. The scrub bar has a loaded bar that shows the amount that has been downloaded. That load bar has the mouse event that will update the playhead. The reason I chose the loadbar to have the mouse event is so a user cant seek past what is already loaded.

```auto

function updateMediaPosition(e:MouseEvent):void
{
	pBar.scrubber.width = e.localX * pBar.width;
	vPos = e.localX * videoLength;
	v.seek(vPos);
}

```

The code currently works playing locally since it loads right away. If I test it online, e.localX keeps changing until its fully loaded, therefore resulting in invalid seek times. Can anyone shed some light on this? Here is an example:

[http://ronnieswietek.com/flashden/mp3player/version5.html](http://ronnieswietek.com/flashden/mp3player/version5.html)
