Mega Code Archive

 
Categories / Flex / Effects
 

Blur Demo

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#eeeeee">      <mx:Blur id="myBlur" target="{myBlurredImage}" blurXTo="20" blurYTo="20"/>        <mx:Label x="22" y="24" text="Blurring an image" fontSize="14" fontWeight="bold"/>   <mx:Image source="logo.jpg" x="22" y="55"/>   <mx:Image id="myBlurredImage" source="logo.jpg" x="366" y="55"/>   <mx:Button x="22" y="315" label="Blur Image" click="myBlur.play()"/> </mx:Application>