This content has been marked as final. Show 4 replies
Someone has created a Flex component this, but i don't remember where I saw it. Google this and I think you will find it. Maybe it is called "lens"?
Yeah, that is what I was thinking of.
The way I do this in Flash is to have a masked enlarged image on a seperate layer with the magnifier acting as the mask. The mask object is draggable, so it reveals to larger image as you move it around. There is some math involved to make it track like it is actually revealing the smaller image.
The layering looks like this:
mask is a property of flash.display.DisplayObject and mx.core.IFlexDisplayObject. I haven't played with this yet in Flex, but I'm sure it should work similarly to what I've used in Flash.