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

ussing resource Module URLs flashvars to preload resources crash the application. loading the same resource after complete run wihout problems.

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. Modify the HTML template (attached to the BUG) to preload a resource bundle.
      Uncomment the (#Note line) or add the following code at the AC_FL_RunContent function:
      "flashvars", "localeChain=es_AR&resourceModuleURLs=es_AR.swf"
      2. Load the application in the browser.
      3. Actual Results: RTE application thrown an exception and application fail to initialize.

      TypeError: Error #1034: Error de conversión forzada: no se puede convertir ResourceEventDispatcher@94623a1 en 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()
      at mx.core::FlexModuleFactory/docFrameHandler()
      at mx.core::FlexModuleFactory/docFrameListener()

      Expected Results:

      Load without problems, since loading the resource bundle after the application was initialized work as espected.

      Workaround (if any):

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: