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 module

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 load

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 Flash

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 var

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 err

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 > eve

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; > > > "http://www.macromedia.com/xml/dtds/cross-domai

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

2008-01-31 Thread Dave Glasser
gt; wrote: > 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

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; http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";> As per mine knowladge.. u need to put secure tag as false, so that i will allow it to access any of secure issues. hope this may solve; cheers -- Vie

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

[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 error