Local swfs cannot load remote modules.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Glasser Sent: Wednesday, January 30, 2008 8:27 PM To: [email protected] Subject: [flexcoders] SWF is not a loadable module / crossdomain.xml woes I'm running a Flex app in my local Flash player (not in a browser) from my local disk, and I'm trying to load a module from a Tomcat server running on localhost. My Flex app is trusted and is already communicating with that server for other things, but when I try to load the module, I get the error described by Alex Harui in this blog post: http://blogs.adobe.com/aharui/2007/03/swf_is_not_a_loadable_module.html <http://blogs.adobe.com/aharui/2007/03/swf_is_not_a_loadable_module.html > I've put the following crossdomain.xml file in the root document directory of the Tomcat server: <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd <http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd> "> <cross-domain-policy> <allow-access-from domain="*" /> </cross-domain-policy> and I still get the error. I can load the crossdomain.xml file in a browser with the URL http://localhost/crossdomain.xml. <http://localhost/crossdomain.xml.> The weird thing is that the Tomcat access logs do not indicate that the Flash player running my Flex app is requesting that crossdomain.xml file at all. Does anyone have any idea what I'm doing wrong?

