How to Shimmer Water




This effect is actually quite simple. The script below handles the whole process in just a few lines of code. It first takes a BitmapData 'snapshot' of the MovieClip your applying the effect to. Then it runs a perlin noise filter over it. The DisplacementMapFilter shifts the pixels around to create the distortion. By pushing the starting point of the noise filter, it appears to shift the displacement across the image, creating the water shimmer effect.

Here's ActionScript 2.0 version of WaterFX.as, which should reside on the top level of you AS class directory:

Download Files:

water_example.fla
WaterFX.as

Articles & Tutorials


How to Shimmer Water (Water Ripple Effect)


The classic water ripple effect, when used sparingly, can create waves with a dead calm banner design... more»

Making Images in TextFields Clickable


When loading html into TextField, <img> tags can act strange. Using a few tricks, these images can be treated like normal MovieClips... more»
 

Interactive Resources


The fastest poker hands evaluator ever


Few months ago I've been working in a project where I had to validate poker hands (based on 5 cards) and also calculate ... more»


Two Minute Introduction to the Flint Particle System library


The Flint Particle System Actionscript library for Flash and Flex is an easy and powerful way of animating large groups... more»


Amethyst Professional - The Flash Platform IDE for Visual Studio


Hartland, UK - August 26, 2010 - SapphireSteel Software, http://www.sapphiresteel.com, specialists in development enviro... more»


Weaverant Content Management System made for Adobe Flash developers Beta Announced


Weaverant™ is a Content Management System made for Adobe Flash developers and their clients.... more»


Adobe announces 2010 Layer Tennis design tournament


Adobe today announced that the 2010 Layer Tennis design tournament will kick off this Friday, August 20, at 2 p.m. Easte... more»
 

Business & The Internet


Should We Still Use Flash?


This is a fair question, but you probably should be less concerned about what you want and more focused on what your customers want. And that 'thing' is not necessarily Flash... more»

Clicktags in AS 2.0 and AS 3.0


ClickTags should be easy... but they are not so simple. Firstly, because some ads built for polite loading require a parent swf... more»
 
Responses:
attefanioke | June 2, 2010 2:00 am
disneychanel http://luxefashion.us/xxl-sweater-size8.html awards entertainment fashion grammy trend smart home designer pic and pay shoes http://luxefashion.us/fendi-pullover-brand41.html newborn clothes how to wear fashion head wrap scarf

Enter Your Comments Below:
Enter Your Name:
Comments:
Security Question: What is 4 plus 7?