Actionscript 2 - Written by Artluvr on Saturday, March 22, 2008 13:33 - 5 Comments
Magnifying glass zoom – Flash, Actionscript 2
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
Josh T.
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
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
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.
@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
Most Popular Content
- thecodemonster.net has a new logo
- XML Based Fullscreen Image Rotator With Proportional Resize – Flash CS3 – Actionscript 3
- MP3 Player – XML based – Flash CS3, Actionscript 3, Tweener
- XML based banner rotator – Actionscript 3, Flash CS3
- Image Panning on Mouse Move – Actionscript 3 – Flash CS3
- XML Image Gallery – Actionscript 3, Flash CS3, Tweener
- XML based image gallery – Actionscript 3, Flash CS3, Tweener
- Scrollbar with easing – Actionscript 3 – Tweener – Flash CS3
- 3D Carousel XML based – Actionscript 3, Flash CS3
- Papervision3D Spiral Carousel
- Depth of Field with Papervision3D & Tweener
- @Sulaiman, you can do it by removing every child inside the movieclip, and then ...
- @william, The calendar is a movieclip. You can just move it by changing the x an...
- @fuya, unfortunately you cannot add thumbnails, neither the gallery can autoplay...
- @jck, It's not the scroller's fault. Flash has a limit on the height of textfiel...
- Hi, I just started using the scroller, but I'm having trouble with a long text, ...
- The gallery is great.
To customize, I would like to know how can I make the g...
- how do i actually move the calendar along the x and y axis. i can move the backg...
- hi Artluvr,
thanks for this. one quick question:
any idea how i could swit...
Image Galleries
- XML Based Fullscreen Image Rotator With Proportional Resize – Flash CS3 – Actionscript 3
- XML based banner rotator – Actionscript 3, Flash CS3
- XML Image Gallery – Actionscript 3, Flash CS3, Tweener
- XML based image gallery – Actionscript 3, Flash CS3, Tweener
- Auto Resize XML Image Gallery – Actionscript 3, Flash CS3, Tweener
- XML Based Zoom Gallery – Flash, Actionscript 2, FuseKit
Menus & Buttons
Utilities
- MP3 Player – XML based – Flash CS3, Actionscript 3, Tweener
- Image Panning on Mouse Move – Actionscript 3 – Flash CS3
- Scrollbar with easing – Actionscript 3 – Tweener – Flash CS3
- XML graph like Google Analytics – Actionscript 3, Flash CS3
- XML based MP3 Player Streaming Compact – Actionscript 3 – Flash CS3
- Events Calendar – XML based – Actionscript 3, Flash CS3, Tweener
- 3D Windows that rotate when you drag them – Papervision 3D 2, Actionscript 3, Flash
- XML based news bubble – Actionscript 3 – Flash – Tweener
- Magnifying glass zoom – Flash, Actionscript 2
- Interactive Snow with OOP Actionscript 2

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!