Welcome to WebmasterWorld Guest from 184.72.145.109

Forum Moderators: open

Message Too Old, No Replies

magnifying glass effect

how to achieve this?

     
1:27 am on Jul 17, 2004 (gmt 0)

Preferred Member

10+ Year Member

joined:Dec 29, 2002
posts:533
votes: 0


A client requested that on the top banner of the site, a magnifying glass scrolls across it from left to right to "magnify" the section of the banner that is in the lens part. Does anyone know how to achieve this effect?
3:03 pm on July 17, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 13, 2003
posts:1240
votes: 0


you need two versions of the image you want to magnify, on different layers.(ideal two instances of one graphic at different scales)

then use a layer with a circle on it as a mask, so where the circle is shows the larger background layer through the mask.

if you give the circle on the mask layer an instance name, you could also attatch it to the mouse, which might work quite well.

good luck

ben

6:13 pm on July 24, 2004 (gmt 0)

Preferred Member

10+ Year Member

joined:Dec 29, 2002
posts:533
votes: 0


Great idea, thanks! I will try it out and see if I can get it working now.
8:33 am on July 28, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 15, 2004
posts:62
votes: 0


If you still need some help or examples look at flashkit for examples:
[flashkit.com...]