i have a MC called 'thumbs' that is supposed to scroll thumbnails / buttons vertically according to the mouses position, but it only goes down.

this is my script:

code:

panel.onRollOver = panelOver;

function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}

var b = stroke.getBounds(this);

function scrollPanel() {
if(_ymouse<b.yMin || _ymouse>b.yMax || _xmouse<b.xMin || _xmouse>b.xMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}

if(panel._y >= 20) {
panel._y = 20;
}

if(panel._y <= -1697.0) {
panel._y = -1697.0;
}

var ydist = _ymouse - -250;

panel._y += -ydist / 100;
}



i think this is the problem in the script above:
code:

function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}



how can i fix this?
any help would be great!

thanks!
austin