You can do a lot of things, including sharpen, with the ConvulsionFilter: 
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7da3.html

Use this kind of matrix:
[0, -1, 0 
-1, 5, -1 
 0, -1, 0]

Larger matrices and different values will give a different range of sharpening. 
If you want to hook up sliders to control the radius and strength (like the 
Unsharp Mask filter in PS), you need to have them adjust these values.

Piers


On 4 Feb 2010, at 12:22, Glen Pike wrote:

> Look in the AS2 documentation in Flash or on the Adobe site:
> 
> Bitmap Filter class
> http://help.adobe.com/en_US/AS2LCR/Flash_10.0/00000808.html
> 
> Then all filters like GlowFilter, etc are a subset of these.
> 
> MovieClip.filters is an array property that you can set at runtime with 
> "constructed filters" - see the examples.
> 
> http://help.adobe.com/en_US/AS2LCR/Flash_10.0/00000337.html
> 
> You can also set Filters at authortime in the IDE - click on a movieclip, 
> next to the "Properties" Tab click on Filters and start adding/playing to see 
> what you want.  Most of the parameters you set in here translate to 
> parameters for the particular filter in AS2.
> 
> HTH
> 
> Glen
> 
> Sumeet Kumar wrote:
>> Thanks for your reply
>> Are there any classes available on the net for these filters?  I have 
>> searched a lot but not able to find any classes related to AS2 and flash.
>> Can you please point me to some links.
>> 
>> Thanks again.
>> 
>> Regards
>> Sumeet Kumar
>> 
>> ----- Original Message ----- From: "Henrik Andersson" <[email protected]>
>> To: "Flash Coders List" <[email protected]>
>> Sent: Thursday, February 04, 2010 5:32 PM
>> Subject: Re: [Flashcoders] Filters in flash 8
>> 
>> 
>> Sumeet Kumar wrote:
>>> Hi All,
>>> 
>>> Is there any way by which we can achieve following filters in flash 8.
>>> 
>>> Noise
>>> Pixelate
>>> Sharp
>>> Water
>>> Metallic
>>> Neon
>> 
>> Noise is possible with BitmapData, Pixelate is done with drawing to
>> BitmapData and upscaling the bitmap.
>> Sharp is done with one of the more complicated filters.
>> Water is too losely defined and so is metallic.
>> Neon can be done with the glow filter.
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> 
>> 
> 
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to