# Lagging Flash

**URL:** <https://forum.kirupa.com/t/lagging-flash/204759>\
**Category:** flash\
**Created:** [October 23, 2006, 10:19am UTC](https://forum.kirupa.com/t/lagging-flash/204759 "2006-10-23T10:19:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![naken](https://avatars.discourse-cdn.com/v4/letter/n/8dc957/32.png) [@naken](https://forum.kirupa.com/u/naken)\
**Post date:** [October 23, 2006, 10:19am UTC](https://forum.kirupa.com/t/lagging-flash/204759/1 "2006-10-23T10:19:34Z")

</div>

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](http://www.riksknas.com/Fabian/fabian_b_R4.html)

and the scroller code:

```auto
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

---

<div class="post-metadata">

**Author:** ![Templarian](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/templarian/32/7152_2.png) [@Templarian](https://forum.kirupa.com/u/Templarian)\
**Post date:** [October 23, 2006, 11:53am UTC](https://forum.kirupa.com/t/lagging-flash/204759/2 "2006-10-23T11:53:24Z")

</div>

Theres no lag even on my schools crappy computers… if it doesnt lag on these things i think your good lol.

Although if your Residence tab is down you may want to stop it from scrolling.

//edit, you do have it cached right?

---

<div class="post-metadata">

**Author:** ![naken](https://avatars.discourse-cdn.com/v4/letter/n/8dc957/32.png) [@naken](https://forum.kirupa.com/u/naken)\
**Post date:** [October 23, 2006, 1:16pm UTC](https://forum.kirupa.com/t/lagging-flash/204759/3 "2006-10-23T13:16:33Z")

</div>

[quote=Templarian;1983621]Theres no lag even on my schools crappy computers… if it doesnt lag on these things i think your good lol.

Although if your Residence tab is down you may want to stop it from scrolling.

//edit, you do have it cached right?[/quote]

thanks bro! yeah I do. Well I guess maby its the uploads of torrents or I dont know - but I’ll trust you 😉 Spanks for your time!
