Hi,
I have a great problem with this one.
I'd like to use the embedded image:

[Embed(source="images/window.png")]
[Bindable] public var imgWindow:Class;

.. in a class (that extends UIComponent) that generates the image as 
it's child:

protected override function createChildren():void {
        super.createChildren();
        var image:Image = new Image();                          
        image.source = this.imageClass;
        this.addChild(image);
        }
}

(I'm passing the image (imgWindow) to my class via the "imageClass" 
property)
The problem is that the image doesn't render at all.

Any sugesstion is welcome. Thanks in advance!

Reply via email to