Effects Flex


    
    xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
    creationComplete="init();">
    
        
    

     
         
        import mx.geom.*; 
        // Define a bounding box for the target area of the effect. 
        [Bindable] 
        public var tArea:RoundedRectangle; 
        // Size the bounding box to the size of Panel 2. 
        private function init():void 
        { 
            tArea = new RoundedRectangle(0,0, panel2.width, panel2.height, 5); 
        } 
      
    

    
                    alphaFrom="1.0" alphaTo="0.0" />
        
                    alphaFrom="1.0" alphaTo="0.0" targetArea="{tArea}" />