# How do you actionscript3.0 a zoom method for entire flash movie?

**URL:** <https://forum.kirupa.com/t/how-do-you-actionscript3-0-a-zoom-method-for-entire-flash-movie/322385>\
**Category:** Uncategorized\
**Created:** [May 19, 2011, 9:39pm UTC](https://forum.kirupa.com/t/how-do-you-actionscript3-0-a-zoom-method-for-entire-flash-movie/322385 "2011-05-19T21:39:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![serain](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@serain](https://forum.kirupa.com/u/serain)\
**Post date:** [May 19, 2011, 9:39pm UTC](https://forum.kirupa.com/t/how-do-you-actionscript3-0-a-zoom-method-for-entire-flash-movie/322385/1 "2011-05-19T21:39:21Z")

</div>

Ok heres the deal, I’m in the process of making complicated multiplayer games and i want to make a ‘zoom in-scroller’ feature (simply to give the illusion of a bigger world where i can put more stuff in it). What I need is the equivilent of launching your .swf, right clicking on the stage, and “zoom in” (but obviously in actionscript code).

I’ve been searching online for the solution and all i can find is a bunch of noobs describing how to zoom in on a movieclip, but they arent really zooming at all, they’re just blowing up and shrinking the individual movieclips.

The biggest problem with this of course is when i add objects to the stage, thier (x, y) spawn dosent scale with the stage.scaleX, so the placement spirals the game out of control.

Anyways, my stage is a 1200x by 600y dimension; the stage has player movieclip (var player1) with assosiated move functions (W A S D controls). I need a zoomed in interface centered on the moving player (lets just say a 600x by 300y box). And finally this zoom-in should not affect anything going on in the original 1200x600 stage, such as spawn locations, collision detections and so on. Thanks.
