# {CS5} \<\<Help For Zooming And Pan With Mouse Move\>\> {Urgent PLZ}

**URL:** <https://forum.kirupa.com/t/cs5-help-for-zooming-and-pan-with-mouse-move-urgent-plz/325807>\
**Category:** flash\
**Created:** [November 5, 2011, 9:00am UTC](https://forum.kirupa.com/t/cs5-help-for-zooming-and-pan-with-mouse-move-urgent-plz/325807 "2011-11-05T09:00:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrhartsclube](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@mrhartsclube](https://forum.kirupa.com/u/mrhartsclube)\
**Post date:** [November 5, 2011, 9:00am UTC](https://forum.kirupa.com/t/cs5-help-for-zooming-and-pan-with-mouse-move-urgent-plz/325807/1 "2011-11-05T09:00:17Z")

</div>

Hi Dear Friends 🙂  
I’m Using A Code For Make Something Zoom And Automatically Drag With Mouse Move In Reverse Direction!  
I Want To Change These:  
1- I’m Using Click To Zooming In And Out! I Wanna Use The “z” Key!  
[SUB][COLOR=#ff0000]Note: I’m Using This Code But Not Gonna Worked!!![/COLOR]

> [FONT=courier new][COLOR=#0000ff]onClipEvent /COLOR {  
> [INDENT][COLOR=#0000ff]if /COLOR  
> [/INDENT]  
> [INDENT]{  
> [/INDENT]  
> [INDENT=2][COLOR=#a9a9a9]//Doing The Zoom Process[/COLOR]  
> [/INDENT]  
> [INDENT] }  
> [/INDENT]  
> }[/FONT]  
> [/SUB]  
> 2-This Code Uses All Stage Width And Height For Mouse Move Calculation And Moving The Zoomed Object In Reverse Direction! I Want To Change It And Make Limitation Like:

> [FONT=courier new]Zoom (Multiple,Left,Top);[/FONT] {e.g. [FONT=courier new]Zoom(7,100,154)[/FONT];}

The File Is [Here](http://mrhdigitalmedia.persiangig.com/kirupa/ZoOm.fla)! 🙂 It’s Pure Urgent And **Thanks For Helping** 😉
