Exactly. Just draw the graphics and use a displacement map filter to do it. Trying to do it all manually and with scale will be a huge pain and the distribution won't be the safe as a surface that changes in scale like the displacement map would do.

The only trick is creating the grayscale displacement map correctly, which can be a bit daunting if you never done anything like it. Still, it's the only right thing to do for this effect.


Zeh

sebastian wrote:
you could just use a bitmap distortion effect and draw the bars and numbers on the bitmap to make it easier on the code - though the quality of the numbers/bars may degrade as it distorts it.

if you go for that solution, it would be very fast to code, just have the X position of the distortion gradient follow the mouses and voila, your done.

Ali Drongo wrote:
Hi there, I want to achieve the effect of seamless magnification a bit like the Mac OS dock but rather than having individual icons magnified I want to have a seamless magnification kind of like a blob as in this image:

http://dl.getdropbox.com/u/65140/Picture1.png

I think I could achieve this effect by using an onEnterFrame event and having an outline created by a moving circle with curves that are continually updated and the lines and numbers of the thermometer that scale according to mouse position but I'm not sure how to achieve the gradients on the glass.

Is there an easier way of doing this?

Thanks
Ali


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to