Is there anyway to make this scroller less laggy? The swf has a framerate of 61 and here’s the exemple:
http://www.riksknas.com/Fabian/fabian_b_R4.html
and the scroller code:
panel.onRollOver = panelOver;
function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}
function scrollPanel() {
if (_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}
if (panel._x>=+985) {
panel._x = +985;
}
if (panel._x<=-12840) {
panel._x = -12840;
}
var xdist = _xmouse-1500;
panel._x += Math.round(-xdist/60);
}
would appriciate any kind of help. Thanks on forehand!
Regards -Chris