         {
             _alpha = value;
             
-            if (layer)
-                value = value * layer.computedAlpha; 
+            if (designLayer)
+                value = value * designLayer.effectiveAlpha; 
             
             super.alpha = value;
         }

    {
        switch (event.property)
        {
            case "computedVisibility":
            {
                var newValue:Boolean = (event.newValue && _visible);            
                if (newValue != super.visible)
                    super.visible = newValue;
                break;
            }
            case "computedAlpha":
            {
                var newAlpha:Number = Number(event.newValue) * _alpha;
                if (newAlpha != super.alpha)

    {
        _visible = value;
        
        if (designLayer && !designLayer.effectiveVisibility)
            value = false; 
        
        if (super.visible == value)
