# Flash 8 Sliding thumbnails

**URL:** <https://forum.kirupa.com/t/flash-8-sliding-thumbnails/199362>\
**Category:** Uncategorized\
**Created:** [September 1, 2006, 5:38pm UTC](https://forum.kirupa.com/t/flash-8-sliding-thumbnails/199362 "2006-09-01T17:38:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![g\_rochford](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@g\_rochford](https://forum.kirupa.com/u/g_rochford)\
**Post date:** [September 1, 2006, 5:38pm UTC](https://forum.kirupa.com/t/flash-8-sliding-thumbnails/199362/1 "2006-09-01T17:38:59Z")

</div>

Hi

Can any one help me understand why this code isnt working…

I followed a video tutorial rigouroulsy but i cant get the thumbnails to slide

_panel_ being the instance name of the thumbnails movie clip  
\*stroke \*being the name of the bounding movie clip

panel.onRollOver = panelOver;

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

var b = stroke.getBounds(thumbs);function scrollPanel() {  
if (\_xmouse\<b.xmin || \_xmouse\>b.xmax || \_ymouse\<b.ymin || \_ymouse\>b.ymax)  
this.onRollOver = panelOver;  
delete this.onEnterFrame;  
}

```
if(panel._x &gt;= 13) {
    panel._x = 13;
}
    
if(panel._x &lt;= -3233) {
    panel._x = -3233;
}

var xdist = _xmouse - 246.6;

panel._x += -xdist / 7;

```

the guy in the video was working in MX and i have flash 8 is that a problem?

the build is here if you wanna check it out  
[http://www.victoriacharlesphotography.co.uk/VCP](http://www.victoriacharlesphotography.co.uk/VCP) in the portfolio section

thanks in advance

Greg
