1. You have to add "MetaData" tag in the view file
open mx:Metadata
[ResourceBundle("ResourceFile")]
close mx:Metadata
2. Create a folder structure locate/local/en_US/ and file ResourceFile.properties
And in the file
# locale/en_US/ResourceFile.properties
main_server_url=localhost
3. In the Project=>Properties=>Flex Compiler
Add the following
-allow-source-path-overlap=true -source-path=locale/local/{locale}
4. To use it in Model
var serverName:String = ResourceManager.getInstance().getString("ResourceFile","main_server_url");