Sorry I have no idea... You may can generate flex-config.xml and compare the results between FM and FB
VELO On Tue, Sep 1, 2009 at 11:38 PM, Collin Peters <[email protected]>wrote: > > hmmm... the only addition option there is mergeResourceBundles which > doesn't help at all. > > However, I've narrowed things down slightly as the resourceModuleURLs > option in the index.template.html seems to be part of the problem. If > I remove it things work (with a side exception for a null access on > initial load because it is trying to access one of the resources > there. The app works after that though). > > The resourceModuleURLs option is so that it will pre-load the resource > module. Details are here: > > http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Runtime_Localization#How_do_I_preload_a_resource_module.3F > > The html files produced by FB and FM are the same so that in itself > isn't a problem. The issue is still in the SWFs somewhere. Do you > have any new ideas on what the problem could be given this info? > > Regards, > Collin > > > On Sep 1, 6:03 pm, Marvin Froeder <[email protected]> wrote: > > Not sure what is going on. > > Does this sample works? > http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-t... > > > > <http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-t.. > .> > > > > VELO > > > > On Tue, Sep 1, 2009 at 9:57 PM, Collin Peters <[email protected] > >wrote: > > > > > > > > > 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/ -~----------~----~----~----~------~----~------~--~---
