I've been prepping for my Macromedia MAX talk, building demos and polishing slides. One of the demos needed a magnifying glass, and rather than just build out a boring square one I decided to go all out with the new expressiveness features and build a nice visual one incorporating a photographed frame, realistic lens shading, lens distortion (with DisplacementMapFilter), alpha masking, and a drop shadow.

I'm still thrilled by how easy it is to do these kinds of advanced effects in Flash 8 (<40 lines of code). This is a quick hack together, but I think I'll polish, componentize, and release the magnifying glass after the Flash 8 release.

The latest version of the Flash 8 player is required.




If you're interested in seeing the details of how it was built, I'll be tearing it all apart at my upcoming Toronto workshop.

I've posted a slightly better demo here.