Adobe Dreamweaver Forums



Last 10 THreads :         Why is this not working!!! (Last Post : Boxing Boom - Replies : 11 - Views : 12 )           »          CF8 Enterprise gives 500 errors (Last Post : BJFranz - Replies : 0 - Views : 1 )           »          cfimage error (Last Post : masoud_amen - Replies : 0 - Views : 1 )           »          Flash Controls Not Displaying in Embedded File (Last Post : QADesign - Replies : 4 - Views : 5 )           »          Scollbar theme (Last Post : vcorey - Replies : 0 - Views : 1 )           »          Scollbar theme (Last Post : vcorey - Replies : 0 - Views : 1 )           »          Flash CS4 constant crashes (Last Post : san_flash - Replies : 5 - Views : 6 )           »          DIV in Table not working. (Last Post : Murray *ACE* - Replies : 11 - Views : 12 )           »          navigation bar in div (Last Post : jody25 - Replies : 2 - Views : 3 )           »          Disabling menu bars in a browser window (Last Post : Jay Jay - Replies : 6 - Views : 7 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 12-03-2008, 10:33 PM
MotionMaker
 
Posts: n/a
Diggs:
Default Unable to load resource module ... at MethodInfo-635()

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];
}



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-04-2008, 03:43 PM
MotionMaker
 
Posts: n/a
Diggs:
Default Re: Unable to load resource module ... atMethodInfo-635()

Any clues?
Reply With Quote
  #3 (permalink)  
Old 12-04-2008, 07:42 PM
MotionMaker
 
Posts: n/a
Diggs:
Default Re: Unable to load resource module ... atMethodInfo-635()

I decided to move the code to the creationcomplete event and watch that for a while.

But other suggestions are welcomed.
Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 10:57 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk