Groups | Blog | Home
all groups > flash (macromedia) > march 2007 >

flash (macromedia) : how to make text change under moving lens?


iwics2
3/19/2007 11:10:59 PM
If you go to http://www.enhancedwireless.net/Technology/MagnifierTest.shtml
you'll see that you can move the magnifying lens across the banner - so how do
I make the words different as you move across the text? Want to make the text
change under the lens as you move the lens across the banner. Details are
usually best for me - not left brained.

Thanks much
KB
derobinson
3/20/2007 6:11:47 PM
You fake it. In your bottom layer, you have the normal image. Duplicate this
layer and then scale the image up (you'll have to play around with it to see
what works best). Then place a mask layer above the scaled image. You'll then
have to script the mask for interactivity (your user grabbing and moving it),
but the end result is that only that part of the scaled layer that is under the
mask is revealed, giving you the magnified look.

Hope that helps!

derobinson
3/20/2007 6:11:58 PM
You fake it. In your bottom layer, you have the normal image. Duplicate this
layer and then scale the image up (you'll have to play around with it to see
what works best). Then place a mask layer above the scaled image. You'll then
have to script the mask for interactivity (your user grabbing and moving it),
but the end result is that only that part of the scaled layer that is under the
mask is revealed, giving you the magnified look.

Hope that helps!

iwics2
3/20/2007 8:05:52 PM
will see if I can do it

Thanks

AddThis Social Bookmark Button