![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
I am loading Resource Modules dynamically including from startup.
During launch I am having this error message: Error: Unable to load resource module from http://domainname.com/FlexAppPath/Resources_en_US.swf at MethodInfo-635() at flash.events::EventDispatcher/dispatchEventFunctio n() at flash.events::EventDispatcher/dispatchEvent() at ModuleInfoProxy/moduleEventHandler() at flash.events::EventDispatcher/dispatchEventFunctio n() at flash.events::EventDispatcher/dispatchEvent() at ModuleInfo/initHandler() Does not always happen. Sometimes it will happen more then once. This appears after the progress bar says initializing. I load the first resource file in the Application initialization event. See attached code. Flash Player 9,0,124,0 installed (debug version) Firefox 3.0.4 private function onInitialize(event:Event):void { resourceManager.localeChain=[model.languageLocal]; // ex: en_US var urlParts:Array = Application.application.url.split("/") urlParts.pop(); var appPath:String = urlParts.join("/") + "/"; //Alert.show(appPath); var resourceModuleURL:String = appPath + "Resources_" + model.languageLocal + ".swf";//?" + new Date().getTime(); resourceManager.loadResourceModule( resourceModuleURL ); .... } private function onResourceComplete( event:ResourceEvent ):void { resourceManager.localeChain=[model.languageLocal]; } |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise