It might be that the CSS that specifies a ClassReference for the model is not in the defaults.css of the SWCs. I couldn't find it on a quick look, but didn't check the class hierarchy for svg:Image.
HTH, -Alex On 3/12/20, 9:08 AM, "Carlos Rovira" <[email protected]> wrote: Hi, I'm trying to load a SVG external image. <svg:Image src="assets/some-image.svg" width="300" height="500"/> I get HTMLElementWrapper.as:172 Uncaught TypeError: m is not a constructor at org.apache.royale.svg.Image.org.apache.royale.core.HTMLElementWrapper.get__model (HTMLElementWrapper.as:172) at org.apache.royale.svg.Image.org.apache.royale.core.ImageBase.set__src (ImageBase.as:70) at Function.org.apache.royale.utils.MXMLDataInterpreter.initializeStrandBasedObject (MXMLDataInterpreter.as:232) at Function.org.apache.royale.utils.MXMLDataInterpreter.generateMXMLArray (MXMLDataInterpreter.as:157) at Function.org.apache.royale.utils.MXMLDataInterpreter.generateMXMLInstances (MXMLDataInterpreter.as:337) at org.apache.royale.jewel.Group.addedToParent (Group.as:93) at org.apache.royale.jewel.supportClasses.card.CardPrimaryContent.org.apache.royale.core.UIBase.addElement (UIBase.as:1166) at org.apache.royale.jewel.supportClasses.card.CardPrimaryContent.org.apache.royale.jewel.supportClasses.group.GroupBase.addElement (GroupBase.js:165) at Function.org.apache.royale.utils.MXMLDataInterpreter.initializeStrandBasedObject (MXMLDataInterpreter.as:307) at Function.org.apache.royale.utils.MXMLDataInterpreter.generateMXMLArray (MXMLDataInterpreter.as:157) Maybe I'm doing something wrong? Thanks -- Carlos Rovira https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cfffdd1096c7744a5525808d7c69f9d94%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637196261159282792&sdata=KmY2LYmIYPP4r%2BWiBajHwEFjgbohsyXO7CwixT1kxZ4%3D&reserved=0
