Does Embed work in Royale?

I’m working on a POC to port an app that has some css that looks like [1] this, 
but the compiler complains with messages such as

    [mxmlc] Error: The definition of base class BitmapAsset was not found.

Which makes sense as BitmapAsset does not exist in Royale src.

Am I right in assuming that this is not yet  implemented?

Thanks.

[1]
.closeBtn {
       upSkin:        Embed('/assets/16x16/button_cancel.png');
       overSkin:      Embed('/assets/16x16/button_cancel.png');
       downSkin:      Embed('/assets/16x16/button_cancel.png');
       disabledSkin:  Embed('/assets/16x16/button_cancel.png');
}

Reply via email to