I get the following error with the SWF compiled by Flex Mojos. The
SWF produced by Flex Builder works
An ActionScript error has occurred:
TypeError: Error #1034: Type Coercion failed: cannot convert
resourceeventdispatc...@-517518ff 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()[C:\autobuild\galaga\frameworks
\projects\framework\src\mx\core\FlexModuleFactory.as:389]
at mx.core::FlexModuleFactory/docFrameHandler()[C:\autobuild\galaga
\frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:484]
at mx.core::FlexModuleFactory/docFrameListener()[C:\autobuild\galaga
\frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:161]
I have demo source here (including all FB project files & pom):
http://cadiolis.com/LocalizationDemo.tgz
Not really sure what the discrepancy is. The (debug) SWF produced by
Flex Mojos is 471.8 kb while the one produced by Flex Builder is
471.9. This is using Flex 3.4 and FlexMojos 3.3.0. The runtime
locale swfs produced by Flex Mojos work in both application swfs.
Regards,
Collin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en
http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---