0 Replies Latest reply on Jul 6, 2006 12:44 PM by FishMoose

    "Zooming" in on an image using _xscale

    FishMoose
      I need to "zoom" in on an image. I am using _xscale & _yscale to achieve this and it works. The problem is that if I have scrolled to some part of the image, then try to "zoom" in, Ithe image seems to pan left or right as it zooms in, then pans the opposite as I zoom out.

      Here is the code I am using:

      _root.photo._xscale = _root.photo._xscale + 2;
      _root.photo._yscale = _root.photo._yscale + 2;