I have a dropfilter defined using some bindable variables as parameters.
<mx:filters>
<mx:DropShadowFilter id="torinofilter" distance="0" color="{dropShadowColor}"
blurX="{dropBlur}" blurY="{dropBlur}" strength="8" quality="2"
alpha="{dropAlpha}"/>
</mx:filters>
I would like to update the filter in a method call like this:
this.dropShadowColor = <new color>
this.dropBlur = 15.0;
this.dropAlpha = 0.8;
Upon tracing both this.dropShadowColor
and torinofilter.color
, I see they have updated to the new color, but the color of the dropfilter doesnt change.
I would prefer not to create a new filter because then I get issues with swapChildren.