                 }
             }
 
-			// when SWFLoader/Image is used with renderer
-			// recycling and the content is a DisplayObject instance
-			// the instance can be stolen from us while
-			// we're on the free list
-			try
-			{
-				if (contentHolder.parent == this)
-					removeChild(contentHolder);
-			}
+                        // when SWFLoader/Image is used with renderer
+                        // recycling and the content is a DisplayObject instance
+                        // the instance can be stolen from us while
+                        // we're on the free list
+                        try
+                        {
+                                if (contentHolder.parent == this)
+                                        removeChild(contentHolder);
+                        }
             catch(error:Error)
             {
-				try
-				{
-					// just try to remove it anyway
-					removeChild(contentHolder);
-				}
-				catch(error1:Error)
-				{
-					// Ignore any errors thrown by removeChild()
-				}
+                                try
+                                {
+                                        // just try to remove it anyway
+                                        removeChild(contentHolder);
+                                }
+                                catch(error1:Error)
+                                {
+                                        // Ignore any errors thrown by removeChild()
+                                }
             }
 
             contentHolder = null;

    public function set loaderContext(value:LoaderContext):void
    {
        _loaderContext = value;
		explicitLoaderContext = true;

        dispatchEvent(new Event("loaderContextChanged"));
    }

                    // don't resize contentHolder until after it is layed out
                    if (getContentSize().x > 0)
                    {
                        var sizeSet:Boolean = false;
                        
                            if (holder.contentLoaderInfo.contentType == "application/x-shockwave-flash")
                        {
                                                        if (childAllowsParent)
                                                        {
                                                                if (holder.content is IFlexDisplayObject)
                                                                {
                                                                        IFlexDisplayObject(holder.content).setActualSize(w, h);
                                                                        sizeSet = true;
                                                                }
                                                        }
                                                        
                                                        if (!sizeSet) 
                                                        {
                                                                if (swfBridge)
                                                                {
                                                                        swfBridge.dispatchEvent(new SWFBridgeRequest(SWFBridgeRequest.SET_ACTUAL_SIZE_REQUEST, false, false, null,
                                                                                                                                                                                { width: w, height: h}));
                                                                        sizeSet = true;
                                                                }
                                                        }                               
                        }
//                        if (holder.content is IFlexDisplayObject)
//                        {
//                            IFlexDisplayObject(holder.content).setActualSize(w, h);
