Hi all,

So I have a Flex project with a file that have an XML embed using embed
metadata.

[Embed(source="/locale/XCConnectorStrings_dev.xliff",
mimeType="application/octet-stream")]
protected var devXML:Class;

When lauching the swf file I get this Error : "myclass_devXML must inherit
from Sprite to link to the root."

The tricky part is that the SWF file is generated by a dashboard tool called
Xcelsius so I don't have much control on the compilation of the real swf.
I just compile a swf file that will be embed (how. ?.. no clue) into the
resulted swf.

I know this give a big unknown to my problem so if you see alternative
solution to embed xml file into a class or project I will definitively
appreciated !

Thanks

BenoƮt Milgram / Flapflap
http://www.kilooctet.net

Reply via email to