                     {
                         var sizeSet:Boolean = false;
                         
-                            if (holder.contentLoaderInfo.contentType == "application/x-shockwave-flash")
+                        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 (childAllowsParent)
+                            {
+                                if (holder.content is IFlexDisplayObject)
+                                {
+                                    IFlexDisplayObject(holder.content).setActualSize(w, h);
+                                    sizeSet = true;
+                                }
+                            }
+                            
+                            if (!sizeSet && 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);
-//                        }
-                        else
+
+                        if (!sizeSet)
                         {
                             // Bug 142705 - we can't just set width and height here. If the SWF content
                             // does not fill the stage, the width/height of the content holder is NOT

                }
                
                if (!parentAllowsChild)
                        contentHolder.scrollRect = new Rectangle(0, 0, 
                                                                                                         w / contentHolder.scaleX, 
                                                                                                         h / contentHolder.scaleY);
            }
            else
            {


            contentHolder.x = x;
            contentHolder.y = y;
        }
        else
        {
