Archive for the ‘Fitlers’ Category

Filters

February 7, 2007

I have been working on filters from last week.It was a great learning experience working on those things..The filter property of any object takes only array as parameters.And each parameter in that array contains various objects of type BlurFilter,GlowFilter,ShadowFilter et al.Objects of these classes contains various properties like blurX,blurY,strength et al.So if you select any object and apply those filters and then again you want to retrieve those properties you have to scan each and every object along with their properties..I found out very good method of doing that. The class I m using is ObjectUtil.getClassInfo(my object name).properties. This static method gives me the entire properties of any object. So navigating through those properties is now much easier for me. I will post the entire sample code on this when i will complete it.