     {
         effectiveVisibilityChanged = true;
         invalidateProperties();
-    }
-    
-    /**
-     *  @private
-     *  Event call back whenever the visibility of our designLayer or one of our parent's
-     *  designLayers change.
-     */
-    private function designLayer_layerPropertyChangeHandler(event:PropertyChangeEvent):void
-    {
-        if (event.property == "effectiveVisibility")
-        {
-            effectiveVisibilityChanged = true;
-            invalidateProperties();
-        }
     }
     
     /**

            current.removeEventListener(FlexEvent.HIDE, visibilityChangedHandler, false);
            current.removeEventListener(FlexEvent.SHOW, visibilityChangedHandler, false);
            
            if (current.designLayer)
            {
                current.designLayer.removeEventListener("layerPropertyChange", 
                    designLayer_layerPropertyChangeHandler, false);
            }
            
            current = current.parent as IVisualElement;
        }
    }
    

import flash.geom.Vector3D;
import flash.utils.Timer;

import mx.core.DesignLayer;
import mx.core.DPIClassification;
import mx.core.FlexGlobals;
import mx.core.IUIComponent;
