Zooming in on certain area's of an image

Hi Everyone :slight_smile:

I have searched around the forum and searched the tutorials but cant quite find what im looking for.

I have been learning flash (mainly actionscript 3) and im becoming pretty good with it and can do most things I need to but I have been having problems trying to solve this 1 thing so here goes…

Say I have a JPEG image 400x300 and I wanted it to zoom in when I click on a certain area of the image, lets say I clicked on a persons head on the image it would zoom in “on the head”

Im actually half way there I have set an eventlister so when someone clicks on the image it changes the scaleX & Y properies but this obviosuly doesnt zoom the part of the mouse exactly so I tried to change the normal x & y properies to the same as the mouse but this didnt bring the results needed.

I hope that made sense and if anybody could point me to a tutorial or info on the subject i would be very gratefull.

Thanks