0 Replies Latest reply on Jan 9, 2008 8:40 AM by Nick_Sarandon_PAblo

    properties file in a my flex 3 component

    Nick_Sarandon_PAblo
      Hi,
      I have a problem in a application:

      I have created a component with next folder´s schedule:

      Component
      Component´s folder (library proyect)
      bin
      folder whith component.swc file
      configuration
      folder whith an configuration.properties file
      src
      folder that contains 2 .as files who uses config.properties file in this way:

      package ieci.ecm.mae.config
      {
      public class MTKeys
      {
      public static var SessionWS_URL:String = "SessionWS_URL";

      public function MTKeys()
      {
      super();
      }

      }
      }


      The config.properties only contents:
      SessionWS_URL_1=http://localhost/idocws/Session.asmx
      SessionWS_URL=http://localhost:2105/idocWS/Session.asmx


      Then i have my main proyect who uses the component that i have explain before, and
      It throws me next error... Unable to resolve resource bundle "configuration"

      I can solve this problem coping config´s folder in my proyect´s main folder, and if i changes the text of this config.properties, the app uses this last one config information and seems not uses component folder´s information

      But i don´t want to use my config folder in main´s folder...i want to use in his self component.
      someone can help me???


      Thanks and excuse my bad english