 {
 import flash.display.Shape;
 
-import mx.containers.Canvas;
-import mx.controls.Image;
+import mx.controls.SWFLoader;
+import mx.core.UIComponent;
 import mx.flash.ContainerMovieClip;
 import mx.flash.FlexContentHolder;
 
 [IconFile("flash_container_icon_small.png")]
 public class FlashContainerPlaceholder extends ContainerMovieClip
 {
-    protected var image1:Image;
+    protected var image1:SWFLoader;
     
     public function FlashContainerPlaceholder()
     {

    [Embed(source='flash_container_icon.png')]
    private var _embed_mxml_flash_container_icon_png:Class;
}
}

        var fch:FlexContentHolder = new MyFlexContentHolder();
        
        var imageHolder:UIComponent = new SimpleUIComponentContainer();
		imageHolder.percentHeight = 100;
		imageHolder.percentWidth = 100;
		imageHolder.addChild(createImage());

        this.addChild(fch);
        
        this.content = imageHolder;
    }
    
    protected function createImage():SWFLoader
    {
        image1 = new SWFLoader();
        image1.source = _embed_mxml_flash_container_icon_png;
        image1.scaleContent = false;
        image1.setStyle('horizontalAlign' , 'center');
        image1.setStyle('verticalAlign' , 'middle');
        return image1;            
