Map scrolling

I have this script for scrolling a map, i whould like to now how can i add to this script the possibility of zooming when i click in any part of the map

If someone could help, thank´s in advanced :glasses:

scroll_width = mapMC._width - 550; // 550 is default width, change to your movie's
scroll_height = mapMC._height - 225; // same thing 400 is default height
mapMC.onEnterFrame = function() {
	scroll_percentageX = _xmouse/550;
	// again default width. 
	scroll_percentageY = _ymouse/225;
	// again default height
	mapMC._x = 0-scroll_percentageX*scroll_width;
	mapMC._y = 0-scroll_percentageY*scroll_height;
};

anyone :hugegrin:

Anyone, please :jailbreak

If someone could help, thank´s in advanced (-:

Anyone :sure:

Tried _xscale = _yscale = number
number = whatever

Thank´s Joppe

… Derlei where did you get that code?

_Michael

In this forum, i really don´t remember from who, but if it is yours i’m sorry i didn´t no that i could not use it

:huh:

why you ask ???