4 Replies Latest reply on Aug 7, 2009 10:00 PM by brycebarrand

    resource manager - loadResourceModule()



      I am trying to load resource bundles at run time via resourceManager.loadResourceModule().

      When I locate *.swf file into bin-debug everything is just fine, but when I move it to module/ I get this error

      Error: Unable to load resource module from module/Resources_de_DE.swf


      code snippet:


      resourceManager.loadResourceModule("module/Resources_" + newLocale + ".swf");


      where newLocale is de_DE or en_US depending on selected language

      swf files are Resources_de_DE.swf and Resources_en_US.swf


      Thanks for help