Effects Flex



    
        
            import flash.events.Event;
            import mx.effects.Zoom;
            private function createEffect(eventObj:Event):void {
                var zEffect:Zoom = new Zoom();
                zEffect.duration = 2000;
                zEffect.zoomHeightTo = 3.50;
                zEffect.zoomWidthTo = 1.50;
                myB.setStyle("mouseDownEffect", zEffect);
            }