i have a code for scrolling thumbnail paner AS 1.0 and id like to know what the equivalent would be for the same thing in AS2.
heres the code for 1.o
panel.onRollOver = panelOver;
function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}
var b = stroke.getBounds(_root.picspage);
function scrollPanel() {
if (_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}
if (panel._x >= -267) {
panel._x = -267;
}
if (panel._x <= -2429) {
panel._x = -2429;
}
var xdist = _xmouse - 0;
panel._x += -xdist / 5;
}