....onRelease = function() { var percent:Number = (this._xmouse/this._width)*100; ....seek(percent); }