scriptgoto.com - The flash and flex Company

DisplayFilter AS3.0


Information
Basic Info
Key Features
Requirement

the flash component is developed by actionscript 3.0 , you can simply use all API of our flash filter in your AS3.0 project. it offer 8 flash filter effects similar photoshop filter, include Blur,Emboss,Gray,Invert,Sharpen,Reflection,Noise,Mosaic . let you can create some cool photoshop filter effects in flash only using 2-3 lines code.

  • Works with any DisplayObject, in other words, it will support all image format and swf and shape and movieclip
  • AS3.0 component Architecture.
  • offer 8 flash filter effects similar photoshop filter
  • Full multiplatform support. Works the same for Windows, Mac and Linux.
  • Supports jpg, png and gif image file formats.
  • Full ActionScript3.0 API
  • supprt flash 9 or latest flash version

Price: $25.00         Buy
Documents
How to use
API
Other File

we also offer many demo and smaples to instruct how to use the flash

  • 1.click FilterComponent.mxp and install the filterComponent on your flash CS3 via the extension manager .
  • 2.Create a new Flash ActionScript 3.0 File and drag an instance of the filterComponent onto the stage from the Component Panel (Window > Components >scriptgoto).
  • 3. delete the instance of the filterComponent on the stage , then you can see the filter component have existed libaray.
  • 4.insert filter class lib , please write the follwing code:
    import sg.as3.filters.*;
  • 5. declare DisplayFilter object , please write similar the following code:
    var myFilter:DisplayFilter = new DisplayFilter();
  • 6. setup filter target object, code as follow:
    var _src:DisplayObject;
    myFilter.setTarget(this._src);
  • 7. setup filter parameters and create filter effect, similar code as follow:
    myFilter.setFilter("mosaic",12);
  • 8. if you want to cancel filter effect, you can use the following method:
    myFilter.clear();