Hi,

Zooming in or scaling a high res image will produce a pixelated effect if scaled to far. Your options are to use a lower resolution image or find a point where the scale doesn't effect the image in a noticeable way. I wrote an autozoom function that might be useful for something like this. It zooms in to any mouse clicked position and has 3 predefined scale limits.

code:

/*
Auto Zoom Function
T. Norman
http://ntdesigns.net
*/
myZoom = function (myDepth) {
if (myDepth == "deep") {
myDepth = 4;
} else if (myDepth == "medium") {
myDepth = 8;
} else if (myDepth == "light") {
// default
myDepth = 12;
}
trace(myDepth);
_root.onMouseDown = function() {
if (k>0) {
return;
}
zoom = true;
dir == 1 ? (dir=-1) : (dir=1);
if (dir == 1) {
pt = {x:_root._xmouse, y:_root._ymouse};
}
}
this.onEnterFrame = function() {
if (!zoom) {
return;
}
_root._xscale += dir*k*50/myDepth;
_root._yscale += dir*k*50/myDepth;
var pt2 = {x:pt.x, y:pt.y};
_root.localToGlobal(pt2);
_root._x -= (pt2.x-pt.x);
_root._y -= (pt2.y-pt.y);
k++;
if (k == 8) {
zoom = false;
k = 0;
}
}
}
myZoom("medium");