The very first time my Flex app is opened in the browser, I get this error

TypeError: Error #1009: Cannot access a property or method of a null object 
reference. at 
ModuleInfo/completeHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\m
x\modules\ModuleManager.as:717]

If I click Continue the module doesn't load, so I refresh the browser and it 
works just fine.  
All subsequent loads of the app, it loads just fine.  Issue is only with the 
very first attempt.

This is the moduleLoader causing the problem. [It loads a module from another 
app in the 
same domain/site, just in another folder.]

<mx:ModuleLoader  id="blongVisual" 
                url="../../Blong/bin/BlongVisual.swf"/>

I think it may have something to do with the relative url, but ModuleLoader 
refuses to load 
at all if I use the full url to the swf.  I'd prefer to use the full url, but 
don't know why it 
doesn't work

<mx:ModuleLoader  id="blongVisual" width="100%" height="100%" 
                url="http://www.mydomain.com/flex/Blong/bin/BlongVisual.swf"/>

Anyone know how to get a module to load using a full url?  

Thanks,
Don



Reply via email to