
221ADOBE FLEX 3
Creating and Extending Adobe Flex 3 Components
</mx:Application>
This example uses the Effect.filter property to filter possible effect targets. Because you set the filter
property of the first Blur effect to
removeItem, Flex only applies the effect to items added to the list control.
Because the Move effect omits the
filter property, Flex applies the effect to all items in the control.
You can create a custom filter by passing an instance of the EffectTargetFiler class to the
Effect.customFilter
property. For example, the
Effect.filter property lets you specify only a single value, such as addItem or
removeItem. However, you can ...