Create a Static Distortion Effect Using the Displacement Map Filter

In this tutorial you’ll learn how to use AS3’s DisplacementMapFilter class to create a reusable static distortion effect for button rollovers.

Final Result Preview
Let’s take a look at the final result we will be working towards:

Step 1: About Displacement Mapping
A displacement map works by using the color values from one image to alter the position of pixels in another image. This effect is often used to make a flat graphic ‘wrap’ around a dimensional image. We’re going to use it here to distort a button so it looks like it’s receiving static interference.

You can read more about displacement mapping here.
Step 2: Set up Your Flash File
Create a new Flash file (ActionScript 3).
Your movie settings will vary depending on your game. For this demo I’m setting up my movie as 500×300, black background, and 30 fps.

Step 3: Create a Simple Button
Create a…

You Might Also Like...

'>How to create a top quality logo for your company
  • Remove a Section of Your Photo
  • Subscribe to RSS headline updates from: GurusUnleashed
    Powered by FeedBurner

  • Design & Career Resources

    Open design job and RFQ/RFP listings for Thursday, 29 July Courtesy of Design Jobs Live!
    The latest resources and free stuff (like textures, fonts, Photoshop brushes, scripts, plug-ins, and much more!) from workflowFreelance.com. Read more!
    The latest headlines from workflowFreelance.com. Read more!
  • Popular Search Terms

    Curious what others are searching for? Below are the most popular search terms over the last 30 days.