     {
         _visible = value;
         
-        if (layer && !layer.computedVisibility)
+        if (designLayer && !designLayer.effectiveVisibility)
             value = false; 
         
-        if (_computedVisibility == value)
+        if (_effectiveVisibility == value)
             return;
         
-        _computedVisibility = value;
+        _effectiveVisibility = value;
         visibleChanged = true;
         invalidateProperties();
     }

            if (updateAlpha)
            {
                _alpha = value.alphaMultiplier;
                _computedAlpha = _alpha;
            }
            
            if (displayObject && displayObjectSharingMode == DisplayObjectSharingMode.OWNS_UNSHARED_OBJECT)

            // otherwise redraw.
            if (displayObjectSharingMode == DisplayObjectSharingMode.OWNS_UNSHARED_OBJECT)
            {
                displayObject.visible = _effectiveVisibility;
            }
            else
                invalidateDisplayList();
