Hey all,
I am building up a simple zoom in zoom out on an externally loaded picture.
When I load the picture without applying any ._xscale and ._yscale to it, the resolution is fine but when I use the ._xscale and .yscale to the movieclip it is in, it blurs the image.
I don’t get it.
I am posting bits of the code in case you are curious.
Thanks for your help.
Fabrice
//gets the info for choosing the right pix
mepixVar = new LoadVars();
mepixVar.load(“indic.txt”);
//loads
mepixVar.onLoad = function() {
z = mepixVar.pixRef;
this.pathToPics = “”;
loadMovie(this.pathToPics+z, _root.photo.loader.recip);
_root.photo.loader.recip._quality = “BEST”;
};
//code for zoom in and out
slider.onEnterFrame = function() {
x = ((slider.cursor._x)-40)*(0.66)+50;
_root.photo._xscale = x;
_root.photo._yscale = x;
};
stop();