I am not sure if you're compiling this application via command line or FlashBuilder. Also I am not sure what file type this is. And if you're using FB and its not a source file or not being embedded, then the application shouldn't be concerned with it until runtime.
Without more details, I assume you're using FB, which you can 'Link' files into your project that can be anywhere that your computer can access. In FB if you navigate to File>New>File...click on the Advance button in the context menu to link a file. I hope that helps.
Do you have a strict requirement that you need to use properties file itself?,I am not sure whether we can load resource bundles at runtime.But I will tell you an alternate approach.Use an xml as the configuration file,You can then access the contents of that xml at runtime using HTTPService / URLRequest.Let me know if that works.
On second thought I think you can do it with resource bundles itself.Just give it a try.
When properties file is used with Resource bundle, it gets compiled with swf. So its not what i need.
The other way you mentioned using xml , works.
But i just want to know about properties file whether it could be loaded at run time.
1 person found this helpful
True, the properties file will get compiled into a SWF, however you can use it to be loaded at runtime into a main SWF. Here is some info on it:
This method of loading resources at runtime is comparable on how a RSL is used.
Without knowing what info is in that properties file, there is conditional compliation for Flex. However as the name implies, flags determine what gets compiled into the SWF.
At any rate, you could load any plain-text file at runtime.