Quote Originally Posted by fruitbeard View Post
Hi,

Without seeing your set up and stuff is this any help to you
PHP Code:
onClipEvent (load) {
    
BarWidth 200;
    
//BarWidth = MyBar._width;// sets it to whatever width the bar is
}

onClipEvent (enterFrame) {
    
loadbar Math.floor(_root.mysound.getBytesLoaded BarWidth);
    var 
position Math.floor(_root.mysound.position 1000);
    var 
duration Math.floor(_root.mysound.duration 1000);
    var 
pos Math.floor((BarWidth _root.mysound.position) / _root.mysound.duration);
    
scroller._x pos;
    
cue Math.floor((scroller._x duration) / BarWidth);
    
//cue = Math.floor(((scroller._x * duration) / BarWidth) / 1000);// probably better !!
    
scroller.onPress = function()
    {
        
startDrag(scrollertrue00BarWidth0);
        
_root.mysound.stop();
    };
    
scroller.onRelease scroller.onReleaseOutside = function ()
    {
        
stopDrag();
        
_root.mysound.start(cue,true);
    };

hi.. thanks for the attention...i believe it does not works...ive tried the code and i cannot drag the scroller...the code i gave seems to work but i cannot drag the scroller smoothly... it kinda drags in "long blocks" through the loadbar.. Thanks again:

Duarte V.