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 variable at runtime...

or

test with the static name like 


Dave Glasser-2 wrote:
> 
> The code looks like:
> var moduleInfo:IModuleInfo = ModuleManager.getModule("your module
> name.swf");
> moduleInfo.addEventListener(ModuleEvent.READY, onModuleLoaded);
> moduleInfo.addEventListener(ModuleEvent.ERROR, onModuleError);
> moduleInfo.load();
> 
> check with the above , let me know
> regards
> shrikant
> 
> 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
> errorText
> property is "SWF is not a loadable module". 
> 
> 
> --- "shrikant.patil" <[EMAIL PROTECTED]> wrote:
> 
>> 
>> hi,
>> ok... may be the problem is not with crossdomain.xml,... can u 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
>> > 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
>> >> "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 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
>> >> -- 
>> >> View this message in context:
>> >>
>> >
>>
> http://www.nabble.com/SWF-is-not-a-loadable-module---crossdomain.xml-woes-tp15198022p15199689.html
>> >> Sent from the FlexCoders mailing list archive at Nabble.com.
>> >> 
>> >> 
>> > 
>> > 
>> > 
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/SWF-is-not-a-loadable-module---crossdomain.xml-woes-tp15198022p15204432.html
>> Sent from the FlexCoders mailing list archive at Nabble.com.
>> 
>> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/SWF-is-not-a-loadable-module---crossdomain.xml-woes-tp15198022p15205254.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to