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!