Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-22822

Throws an erron when we try to load resourcebundle at runtime in 3.4.0.9271 sdk(using resourceModuleUrls in flashVars)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.4 (Release)
    • None
    • Preloader
    • None
    • Affected OS(s): Windows
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile the resourceBundle using mxmlc (localeChain=en_US, included the following collections,containers,controls,core,effects,skins,styles,SharedResources,collections,containers,controls,core,effects,skins,styles,SharedResources resource bundles, source-path is "path of the 3.4.0.9271 sdk")
      2. assign the resourceModulesURLs value to the path of the output swf generated from the step 1
      3.set the localeChain to en_US
      4. compile the application by setting the local= ([empty]) in the compiler option
      5. run the application

      Actual Results:
      TypeError: Error #1034: Type Coercion failed: cannot convert ResourceEventDispatcher@8170041 to flash.display.LoaderInfo.
      at mx.preloaders::Preloader/http://www.adobe.com/2006/flex/mx/internal::rslCompleteHandler()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\preloaders\Preloader.as:331]
      at mx.core::RSLListLoader/listCompleteHandler()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\RSLListLoader.as:238]
      at mx.core::RSLItem/itemCompleteHandler()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\RSLItem.as:233]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at ResourceEventDispatcher/moduleInfo_readyHandler()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\resources\ResourceManagerImpl.as:962]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at ModuleInfoProxy/moduleEventHandler()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\modules\ModuleManager.as:1101]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at ModuleInfo/readyHandler()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\modules\ModuleManager.as:756]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::FlexModuleFactory/update()

      Expected Results:
      Expected to run successfully

      Workaround (if any):

      Note:
      i have used modules in the application to load other parts of the project.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: