# Flashlevel scroller

**URL:** <https://forum.kirupa.com/t/flashlevel-scroller/183379>\
**Category:** Uncategorized\
**Created:** [March 26, 2006, 2:50pm UTC](https://forum.kirupa.com/t/flashlevel-scroller/183379 "2006-03-26T14:50:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lysholdt](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@lysholdt](https://forum.kirupa.com/u/lysholdt)\
**Post date:** [March 26, 2006, 2:50pm UTC](https://forum.kirupa.com/t/flashlevel-scroller/183379/1 "2006-03-26T14:50:34Z")

</div>

I downloaded the Flashlevel xml based scroller and I really want to be able to change the size of it and the way it runs…but i don’t know what the different parameters in the script mean…

Can anyone explain to me what these parameters mean?

slideGalleryMenu = function(){  
diffspacing = 10;  
diff = this.\_parent.\_ymouse - (this.\_y+diffspacing);  
scale = diff_100/(this.gallerymask.\_height-5_diffspacing); // once to compensate, another to add  
scale = Math.max(0,Math.min(100,scale)); // confine within 0-\>100  
target = -scale\*(this.gallerycontainer.\_height-this.gallerymask.\_height)/100;  
this.gallerycontainer.easeY(target);  
}

- hope somebody can help me with this…

Cheers,  
jonas
