Actionscript 2 - Written by Artluvr on Saturday, March 22, 2008 13:33 - 5 Comments

Magnifying glass zoom – Flash, Actionscript 2

Magnifying glass zoom - Flash Actionscript 2

VIEW DEMO HERE

This magnifying glass helps you see details in an image. The default zoom factor is 400% of the original image. You can press and hold the mouse button the the zoom factor will change to 700%.

You can change the image by simply changing the contents of the image movie clip. You can use the zoom with text, vector shapes, images etc.

You can customize the following:

  • Zoom factor
  • Image, text, vector etc.

Price: € 3


Share and Enjoy:

5 Comments

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Josh T.
Apr 9, 2008 5:18

Hi! Just bought this handy script. :) However, I’d like to be able to treat the magnified area as a dragbable entity, rather than just replacing my cursor with it. I’d like to be able to pick it up, drag it around and magnify the image as I drag it manually.

Any idea how this can happen?

Thank you!

Artluvr.com
Apr 9, 2008 6:24

You’ll have to comment out lines 21, 22, 23, 24 of the code on the zoom container. This code moves the zoom container according to the mouse.
Then you have to comment out the codes inside the functions onClipEvent(mouseDown) and onClipEvent(mouseUp).

Inside the onClipEvent(mouseDown) you’ll have to add the code that will enable dragging (startDrag) and inside onClipEvent(mouseUp) you’ll have disable dragging (stopDrag).

Finally you’ll have to add the onClipEvent(onEnterFrame) function inside the onClipEvent(mouseDown) and then inside the onClipEvent(mouseUp) you’ll have to delete the onEnterFrame.

eddie
Apr 12, 2008 16:09

hi;
is there a specific magnification 10x,20×30x plus on the Magnifying glass zoom? can the magnification be set? im looking to incorporate it in a webpage that sells digital microscopes,

thanks
eddie

Ricardo
Apr 6, 2009 11:58

I want to know how many pictures this script uses. One or two? Because i want to use a Magnifying glass zoom without loosing quality in the picture.

Artluvr
Apr 18, 2009 14:37

@Ricardo, it uses one big picture and it scales it down so when you zoom with the magnifying glass you see the original size.

Leave a Reply

Comment

Most Popular Content






Image Galleries


Menus & Buttons


Utilities


Freebies