Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread shrikant.patil
hi try to put the below crossdomain.xml u r missing something there; ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain=* secure=false/ /cross-domain-policy As per mine

RE: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Glasser Sent: Wednesday, January 30, 2008 8:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] SWF is not a loadable module / crossdomain.xml woes I'm running a Flex app in my

Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread shrikant.patil
hi, ok... may be the problem is not with crossdomain.xml,... can uu please post the error u r getting ?. and try to post the code so that it may helpful to find out the bug. thank u shrikant Dave Glasser-2 wrote: That didn't work either. As I mentioned, the crossdomain.xml file isn't even

Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
That didn't work either. As I mentioned, the crossdomain.xml file isn't even being requested by the Flash player. --- shrikant.patil [EMAIL PROTECTED] wrote: hi try to put the below crossdomain.xml u r missing something there; ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM

Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
The code looks like: var moduleInfo:IModuleInfo = ModuleManager.getModule(_url); moduleInfo.addEventListener(ModuleEvent.READY, onModuleLoaded); moduleInfo.addEventListener(ModuleEvent.ERROR, onModuleError); moduleInfo.load(); And the onModuleError event handler gets called. The ModuleEvent's

Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
Believe me, I tried every possible thing I could think of before I posted to this list. The logs on the server indicate that the module is in fact being served, and it all works when the original SWF file is loaded from the server, in the browser, instead of the local disk with the standalone

Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread shrikant.patil
hi, check for the value (should b string) of variable _url (try to put breakpoint in degugger, and check with variables panel, u wil get what actually the variable hold the value)... i think here the problem is with the variable _url... so please test it and let me know the value of _url

Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread shrikant.patil
hi, cool here i m sendung u a link of flex documentation : http://livedocs.adobe.com/labs/flex3/html/help.html?content=modular_5.html on this page there is a topic titled with : Loading modules from different servers check the security, and methods which need to take at initial stage

Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
Thanks, shrikant. I already tried all of the various Security.allowDomain calls, in both the accessing and the accessed module, and it still doesn't work. I believe Alex Harui's answer is correct, that it's just not possible for a local SWF in the standalone Flash player to load a remote SWF

[flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-30 Thread Dave Glasser
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

RE: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-30 Thread Alex Harui
Local swfs cannot load remote modules. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Glasser Sent: Wednesday, January 30, 2008 8:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] SWF is not a loadable module