Flash Tutorials: Learn how to create multiple filters with ActionScript.

Home • Members Tutorials Forum iSnapChat Contact Us 

 


Flash Tutorials

   

Create Multiple Filters with ActionScript

 

Free Flash Tutorial

 

Intro   <<      Intro   1   2   3   4   5   6   7   8   9   10   11     Next   >>      

 

 

In this Flash tutorial you will learn how to apply multiple filters to a single object with ActionScript. This can be added to a variety of objects in Flash including Movie Clips, Buttons & Text. In this example I will place a photo in a Movie Clip and apply the Drop Shadow and Glow Filters. The Glow Filter gives this photo an soft frame effect and the Drop Shadow filter gives the photo a shadow behind the picture making it look as if it is raised of the page in a 3D fashion.

 

Here is an example of what you will create in this tutorial:

Example: Download the Flash file Draw 219a


Flash Movie Clip with Drop Shadow & Glow Filters applied.

 

To keep the ActionScript simple I have used only two filters but the code can easily be adapted to use with any number or combination of filters. You will see that the code is very straight forward and easy to change from one combination of filters to another. I will show you how to add additional filters and there is a full reference section enabling you to look at any particular filter in detail. In the example below I have used all the bells and whistles. The following filters are included: Bevel; Drop Shadow; Glow; Gradient Bevel; Gradient Glow and Color Matrix Filter:

Example: Download the Flash file Draw 219b


Flash Movie Clip with six filters applied.

Important Cross Ref: This tutorial shows you all the ActionScript but it only briefly describes how to apply this to an object within Flash or how to edit the parameter settings. If you are not familiar with this I suggest that you return here after first reading the tutorial: Creating Filters with ActionScript

 

Quick Link: Go straight to: Glow Filter ActionScript

Quick Link: Go straight to: Adding Additional Filters
Quick Link: Go straight to: Filter Parameter Settings

Click by Click: If you would like to view this tutorial without all the notes: Click by Click

 

Important Note: These Filters only work in Flash Professional 8. The filters are not available in Flash 8 Basic or any of the earlier versions of Flash such as Flash MX04/MX/5.

 

If you don't know what version you are using go to: Help > About Flash and you will see the logo:

 

         

Intro   <<      Intro   1   2   3   4   5   6   7   8   9   10   11     Next   >>      


20054 visitors to this page since 4 April 07 •

Phil Schulz's Facebook Profile
Webwasp is Phil Schulz's baby. You are welcome to contact me or become my Facebook friend: Click here

 Top of Page HomeMembers Tutorials Forum iSnapChat Contact Us 
 All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.