0 Replies Latest reply on Nov 3, 2007 8:17 PM by DJGen

    zoom effect

    DJGen
      I'm generating dynamic thumbnails (image). For zooming in the thumbnail when the mouse rollover i'm using the following

      zm = new Zoom(timg);
      zm.zoomHeightFrom = 1;
      zm.zoomWidthFrom = 1;
      zm.zoomHeightTo = 1.2;
      zm.zoomWidthTo = 1.2;
      zm.end();
      zm.play();

      For zoom out when the mouse left from the thumbnail, i'm using the following:
      zm = new Zoom(timg);
      zm.zoomHeightTo = 1;
      zm.zoomWidthTo = 1;
      zm.play();

      The issue is that, the images original position slightly changes when the mouse rollout (mouseout). Please give me a solution for this issue.

      Thanks in advance.