# Scrolling thumbs gallery offset

**URL:** <https://forum.kirupa.com/t/scrolling-thumbs-gallery-offset/316364>\
**Category:** Uncategorized\
**Created:** [November 19, 2010, 10:22am UTC](https://forum.kirupa.com/t/scrolling-thumbs-gallery-offset/316364 "2010-11-19T10:22:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danwilson](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@danwilson](https://forum.kirupa.com/u/danwilson)\
**Post date:** [November 19, 2010, 10:22am UTC](https://forum.kirupa.com/t/scrolling-thumbs-gallery-offset/316364/1 "2010-11-19T10:22:22Z")

</div>

hi guys,

i’m currently re-using a code snippet of xml gallery with scrolling thumbs, but i got a problem :  
my mask is stagewidth and my pictures holder width depend of thumbs numbers,  
sometimes after resizing windows browser, while scrolling to the browser sides limit i cannot see the end of the last pic or the start of the first pic,  
how to fix that ?

tha’ts part of a bigger project, but i’ve isolated the bug in this source :  
[http://missjohanna.free.fr/scrollbug.zip](http://missjohanna.free.fr/scrollbug.zip)

the fix i would like :  
-seeing the whole first pic and whole last pic when scrolling to the border left and right  
-placing the first pic at x:70 at start, and enter fullscreen

i’ve tried many thing, but unfortunately, due to my poor as3 knowledge i cannot figure out how to fix that…

if someone may have a look on this ,  
that’s only a 2 mn fix for a skilled as3 programmer,  
but for me a headache;(

thanks a lot

dan
