     }
     
     /**
-     * @copy mx.core.ILayoutDirection#invalidateLayoutDirection()
+     * @inheritDoc
      */
     public function invalidateLayoutDirection():void
     {
-        const parentElt:ILayoutDirection = parent as ILayoutDirection;
+        const parentElt:IVisualElement = parent as IVisualElement;
         if (!parentElt)
             return;
         

import mx.core.AdvancedLayoutFeatures;
import mx.core.DesignLayer;
import mx.core.IInvalidating;
import mx.core.ILayoutDirection;
import mx.core.ILayoutElement;
import mx.core.IMXMLObject;
import mx.core.IUIComponent;

 *  @productversion Flex 4
 */
public class GraphicElement extends EventDispatcher
    implements IGraphicElement, IInvalidating, ILayoutElement, IVisualElement, IMXMLObject
{
    include "../../core/Version.as";

