1 Reply Latest reply on Jun 18, 2009 4:13 AM by *Prashant Shelke*

    Can any resolve this issue.

    Raghuvasa

      Hi All,

       

      i have plcaed strings.properties file in src folder and using this [ResourceBundle("strings")] i am accessing prperties file

       

      if i use this stringResources.getString("slideShowTooltipKey"); for getting property

       

      i am getting warnings like getString' has been deprecated since 3.0.

       

      can any help me to remove the warnings.

       

      thanks

      Raghu.

        • 1. Re: Can any resolve this issue.
          *Prashant Shelke* Level 4

          Actually I was getting same warning when I shifted from Flex 2.0 to 3.0. So I have done like this,


          In main Application:


          <mx:Metadata>
                  [ResourceBundle('en_US')]

          </mx:Metadata>


          <mx:Label text="{ ResourceManager.getInstance().getString('en_US','lblContactName') }"

           

          *If this information is useful, then mark this post as such.