6 Replies Latest reply on Jul 10, 2012 6:25 AM by wayanad123

    TypeError: Error #1006: getResourceBundle is not a function


      Hi everyone !


      I got a strange error with my app.

      I'm using Flash Builder 4, in order to update my application with the Flex 4 SDK. After some fix, i succeed in having no compiler errors.

      But when i launch my application, i got this error :


      TypeError: Error #1006: getResourceBundle is not a function


      More strange, here is my console at the launch :


      [SWF] /cfusion/TrafficGrille/bin-debug/TrafficGrille.swf - 2 292 131 octets après la décompression

      [SWF] /cfusion/TrafficGrille/bin-debug/TrafficGrille.swf - 195 464 octets après la décompression

      [SWF] /cfusion/TrafficGrille/bin-debug/TrafficGrille.swf - 370 463 octets après la décompression

      [SWF] /cfusion/TrafficGrille/bin-debug/TrafficGrille.swf - 648 239 octets après la décompression

      [SWF] /cfusion/TrafficGrille/bin-debug/TrafficGrille.swf - 441 686 octets après la décompression

      [SWF] /cfusion/TrafficGrille/bin-debug/TrafficGrille.swf - 1 429 050 octets après la décompression

      [SWF] /cfusion/TrafficGrille/bin-debug/TrafficGrille.swf - 323 414 octets après la décompression

      [SWF] /cfusion/TrafficGrille/bin-debug/TbsFramework.swf - 3 857 565 octets après la décompression

      [SWF] /cfusion/TrafficGrille/bin-debug/TrafficGrilleLibrary.swf - 1 014 137 octets après la décompression

      TypeError: Error #1006: getResourceBundle n'est pas une fonction.

      at mx.data.utils::ResourceTranslator$cinit()

      at global$init()[C:\depot\flex\branches\enterprise_bridgeman_final_hotfixes\frameworks\mx\da ta\utils\ResourceTranslator.as:30]

      at mx.data.utils::SerializationProxy$cinit()

      at global$init()[C:\depot\flex\branches\enterprise_bridgeman_final_hotfixes\frameworks\mx\da ta\utils\SerializationProxy.as:51]

      at _TrafficGrille_FlexInit$/init()

      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.0.0\frameworks\projects\fra mework\src\mx\managers\SystemManager.as:2620]

      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.0.0\frame works\projects\framework\src\mx\managers\SystemManager.as:2539]

      at flash.events::EventDispatcher/dispatchEventFunction()

      at flash.events::EventDispatcher/dispatchEvent()

      at mx.preloaders::Preloader/timerHandler()[E:\dev\4.0.0\frameworks\projects\framework\src\mx \preloaders\Preloader.as:515]

      at flash.utils::Timer/_timerDispatch()

      at flash.utils::Timer/tick()



      As you can see, my app uses 2 libraries : one framework (TbsFramework) and my application's library (TrafficGrilleLibrary). I'm also using LiveCycle, but it worked in Flex 3.

      The thing is, i'm wondering why in my console my app is loaded several times. Is it normal?

      Do you see something that i can do for solving this problem?


      Thanks (and sorry for my english).