# Netstream Video Scrubbing

**URL:** <https://forum.kirupa.com/t/netstream-video-scrubbing/252962>\
**Category:** flash\
**Created:** [February 25, 2008, 9:49pm UTC](https://forum.kirupa.com/t/netstream-video-scrubbing/252962 "2008-02-25T21:49:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrwizzer](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@mrwizzer](https://forum.kirupa.com/u/mrwizzer)\
**Post date:** [February 25, 2008, 9:49pm UTC](https://forum.kirupa.com/t/netstream-video-scrubbing/252962/1 "2008-02-25T21:49:31Z")

</div>

Has anyone experienced any weirdness with video scrubbing when using the Netstream class?

My video scrubber is working perfectly on Mac, and fine on some browsers on the PC side, but with some browsers, (Firefox, for example), the scrub bar no longer works.

Anyone have any similar problems?

Here’s a sample of the Actionscript:

//------------ VIDEO SCRUBBER -------------  
loadBar.onPress = function() {  
progressBar.onEnterFrame = videoScrub;  
};

loadBar.onRelease = loadBar.onReleaseOutside=function () {  
progressBar.onEnterFrame = videoUpdate;  
};

function videoScrub() {  
var dist:Number = (\_root.\_xmouse-loadBar.\_x)/loadBar.\_width;  
ns.seek(Math.floor(ns.duration\*dist));  
grip.\_x = \_xmouse;  
}

Thanks!
