Xscale & yscale question

Hey there, I’m quite new to Flash and Actionscript, as I’m sure my crappy code will show you :slight_smile:

I’m trying to make a map with zooming and panning functions, I just started on the zooming. What I’ve understood is that I’ll need two nested movieclips, and that I’ll use the outermost to zoom - by scaling it.

I’ve tried to use some tweens to make the zooming look okay, and thats fine.

However, when I use the - button to zoom out, the movieclip resizes not to the original size, but to some other dimension - check out the .fla to see what I mean. I think this happens because I resize the movieclip on the stage, because if I dont resize the clip after drawing it on stage, it scales correctly when zooming out.

How can I make the clip zoom correctly no matter what I’ve made the dimensions of the clip on the stage?

Thanks :slight_smile: