Hello Everyone,
Hope you all are well,
I was using Embed in my .AS class like

*[Embed("config/eps_config_test.xml", mimeType =
"application/octet-stream")]*
private static const configCT:Class;



private var _configXml:XML = new XML();

[Bindable(event='configXmlChanged')]
public function get configXml():XML
{
return _configXml;
}


public function set configXml(pConfigXml:XML):void
{
if (pConfigXml != null && pConfigXml != _configXml)
{
_configXml = pConfigXml;

dispatchEvent(new Event("configXmlChanged"));
}
}

_configXml = Util.classToXML(configCT);


In Royale when i write this line [Embed("config/eps_config_test.xml",
mimeType = "application/octet-stream")]
It will not through any error but launched screen is blank
How can I Embed any .xml file into Class type var like i was doing in Flex
Please Help me, waiting for your reply
I will be very thankful to you all.


Thanks and regards,
Pashmina

Reply via email to