Flash 8 Active Blur – Blur Behind a Transparent Object – Source Available
**UPDATE: New Version here.
With Windows Vista coming out there is a lot of attention on the new UI and “glass”. In the picture above you can see through part of the window. It obviously is semi-transparent. Now that is easy enough to do in Flash – right? But what I noticed is that it also gives a slight blur to what is behind the window as well. That made me wonder – could the same be done easily in Flash?
What I have below here is a proof of concept of the technique. It uses the BitmapData class and the BlurFilter class. You can drag the little semi-transparent window around and even edit the text behind the window in real time. Adjust the amount of blur the window casts at the bottom. You can download the source here.
This currently isn’t in a class structure and could definitely be made a bit more efficient – but then again – this is web 2.0 – consider this beta. I would love to see if anyone makes anything cool with this so let me know. Hope you like it: