How do you applying filter to assets to use as icon in components?

I want to apply a shadow to an image and than use it as icon for a button.

[Embed(source="myIcon.gif")]
[Bindable]
public var imgCls:Class;

I'm trying to convert it to a BitmapAsset then apply my filters and convert
back to Class to use it within the Button.icon but I get Casting type
errors.
Could some one please help me with this?

Reply via email to