Zoom to area/MovieClip


I have this “universe” with multiple “galaxies” as shown here:


I want to make it so that when the user clicks one galaxy, I zoom so the particular galaxy fills the stage.

I’ve been browsing the web for a nice solution. As far as I see, I should be using some kind of actionscript virtual camera - but I haven’t really found a good example yet.

How would you guys solve this? The next thing that happens when user has zoomed to a galaxy is that I would allow the user to zoom to a “star” – that is, one of the images in the galaxy.

– nitech