Skip navigation
MotionMaker
Currently Being Moderated

Unable to load resource module ... at MethodInfo-635()

Dec 3, 2008 3:28 PM


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/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at ModuleInfoProxy/moduleEventHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
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

  • Currently Being Moderated
    Community Member
    Aug 7, 2009 10:31 PM

    I had the same error while trying to load resource modules from a remote domain.  If you had the same problem as I, it boils down to a problem with the security features of Flex.

     

    I was able to solve it by always running and debuggging from localhost.  As long as you follow the steps listed here: http://www.flexafterdark.com/docs/Flex-Modules  Look at the section titled: "Loading Modules across domain"

     

    But if you don't want to always load from localhost, there is another way to get around this error.  See the blog post I made on this subject. http://blog.mediarain.com/2009/08/flex-loading-remote-modules-throws-t he-following-error-unable-to-load-resource-module-from/

     

    Either of these approaches should hopefully solve your problem.

    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points