Skip to main content
January 29, 2011
Question

Flex SDK 4.5 error in compiled resource bundle

  • January 29, 2011
  • 1 reply
  • 907 views

I have just started using Flex SDK 4.5 (I was using 4.1 before).
I am compiling my resource bundles into SWF files and using them. I am including the required framework bundles also when compiling my resources into SWF.I have copied the generated SWF file to the deployment folder. When I start the application, I am getting the following error even though this bundle is included in my generated SWF file.

Error: Could not find compiled resource bundle 'core' for locale 'en'.
    at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()
    at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()
    at mx.core::FlexModuleFactory/installCompiledResourceBundles()
    at mx.core::FlexModuleFactory/docFrameHandler()
    at mx.core::FlexModuleFactory/docFrameListener()

following is the command that I use to compile resource bundles into SWF file:

C:\"Program Files (x86)"\Adobe\"Adobe Flash Builder Burrito"\sdks\4.5.0\bin\mxmlc -locale=en -source-path=locale/{locale} -include-resource-bundles=core,effects,skins,styles,components,layout ,MyAppResources -output MyAppResources_en.swf

This topic has been closed for replies.

1 reply

January 31, 2011

Any ideas on this will be much appreciated. I have to step back from 4.5 to 4.1 if I do not get past this error. Thanks.