Home > Flex, Swf > Adding a hover glow filter to an MX Image control in Flex 4

Adding a hover glow filter to an MX Image control in Flex 4

August 15th, 2010

The following example shows how you can apply a hover glow filter to an MX Image control in Flex 4 by using the rollOver and rollOut events to set the filters property on the Image control to an array with a GlowFilter instance. <?xml version="1.0" encoding="utf-8"?> <!– http://blog.flexexamples.com/2010/06/25/adding-a-hover-glow-filter-to-an-mx-image-control-in-flex-4/ –> <s:Application name="MX_Image_filters_GlowFilter_test" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:comps="comps.*"> [...]

Source:Adding a hover glow filter to an MX Image control in Flex 4

admin Flex, Swf ,