Zoom

Hi everybody !!

I’m a Spanish student doing a exercise.

I’m making a map which load a file with coordinates and draw them into a movie clip (using lineTo basically). Well. Using a mask only shows one portion of the map. I want, using a slider bar, do zoom of the map, but I’d like the point of the map that is visible in the mask stay in the center after the zoom…

Does anybody know how can I do it ???

Very thanks. Bye.

PD.- sorry for my english.

take a look at this:
http://www.umbc.edu/interactive/fla/slidezoom.swf
http://www.umbc.edu/interactive/fla/slidezoom.fla

let me know if you have any questions

Thanks for the reply.

It’s a very good example, but my problem is tha I draw the MC dinamically and I can´t locate the MC center in my initial MC. Probably I can load it when I finish drawing the MC… Excuse me is my explanation is not very good but I’m limited by the language.

I’ll try it and I’ll tell you then. See you soon.