# Mask that pans image on x scale

**URL:** <https://forum.kirupa.com/t/mask-that-pans-image-on-x-scale/179481>\
**Category:** flash\
**Created:** [February 20, 2006, 4:37pm UTC](https://forum.kirupa.com/t/mask-that-pans-image-on-x-scale/179481 "2006-02-20T16:37:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Murv](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@Murv](https://forum.kirupa.com/u/Murv)\
**Post date:** [February 20, 2006, 4:37pm UTC](https://forum.kirupa.com/t/mask-that-pans-image-on-x-scale/179481/1 "2006-02-20T16:37:20Z")

</div>

Hey, I’m trying to get an effect, where I have an image bigger than the stage, and I want to drag to the left, and have the right move off to the right, away from the viewpoint. and vice versa. Only for the x scale though, not the y.  
So, the users viewpoint would drag left when they rolled there mouse to the left, and would drag right when they moved there mouse to the right.  
I’m guessing it involves invisible buttons, placed on the left and the right, that would have on(rollover) commands.

Heres an image, for those visually inclined.  
 ![](http://forum.kirupa.com/uploads/kirupa/2186/2e7683750eaad9fb.jpg)

Any help would be great,  
Murv
