Tag Archive for 'filters'

04
Jan

Adding filters to an Alert control in Flex

The following example shows how you can add a GlowFilter to a Flex Alert control by setting the filters property on the Alert object reference returned by the static Alert.show() method.

Full code after the jump.

Continue reading ‘Adding filters to an Alert control in Flex’

05
Nov

Removing the drop shadow from a Flex PieChart control

The following example shows how you can remove the default drop shadow from a Flex PieChart control by setting the filters property to an empty array in the PieSeries tag, as seen in the following snippet:

<mx:PieChart id="pieChart"
        dataProvider="{dp.product}"
        height="250"
        width="100%">
    <mx:series>
        <mx:PieSeries id="pieSeries"
                field="@data"
                filters="[]" />
    </mx:series>
</mx:PieChart>

Full code after the jump.

Continue reading ‘Removing the drop shadow from a Flex PieChart control’

26
Sep

Using the flash.* classes in MXML

I saw this trick the other day and thought it was pretty handy, so thought I’d save it here for future reference.

The following example shows how you can use the flash.filters classes in your MXML code by creating a new XML namespace.

Full code after the jump.

Continue reading ‘Using the flash.* classes in MXML’