This content has been marked as final. Show 5 replies
The only two things I can think of are:
- perhaps the xml file must be in the same folder as the SWF
- perhaps you need the full URL of the xml file
If the HTML page and SWF file are not in the same folder, the XML file should be relative to the HTML page containing the SWF, not the SWF itself.
<embed src="subfolder1/subfolder2/subfolder3/subfolder4/flexApp.swf" .... >
Flex Application XML path:
var url:String = subfolder1/subfolder2/subfolder3/subfolder4/features.xml";
var loader:URLLoader = new URLLoader(new URLRequest(url));
this is the problem :
<embed .. src="/admission/_flash/feature/bin-release/main.swf" ......./>
and flash player is trying to load it as features.xml but features.xml is not under root its under /admission/_flash/feature/bin-release/ folder.
either move your xml file under root. ooor change the path, oor change relative reference when you load xml via URLLOader into absolute .
Wow. Thanks for the responses guys. I'll try playing around with the file location/path when I get back in the office later today. I figured it wasn't a crossdomain.xml issue since both the swf and xml file were on the same domain. This makes much more sense.