         invalidateTransform();
     }
 
+    private function isOnDisplayList():Boolean
+    {
+        var p:DisplayObjectContainer;
+
+        try
+        {
+            p = _parent ? _parent : super.parent;
+        }
+        catch (e:SecurityError)
+        {
+            // trace("UIComponent.isOnDisplayList(): " + e);
+            return true;        // we are on the display list but the parent is in another sandbox
+        }
+
+        return p ? true : false;
+    }
 
     /**
      *  Flex calls the <code>stylesInitialized()</code> method when

        if (_layoutFeatures && _layoutFeatures.updatePending == false)
        {
            _layoutFeatures.updatePending = true; 
            if (nestLevel && UIComponentGlobals.layoutManager &&
                invalidateDisplayListFlag == false)
            {
                UIComponentGlobals.layoutManager.invalidateDisplayList(this);

        {
            invalidateDisplayListFlag = true;

            if (isOnDisplayList() && UIComponentGlobals.layoutManager)
                UIComponentGlobals.layoutManager.invalidateDisplayList(this);
        }
    }
