I have a directory of resource images that I want to [Embed into my
application. I need to make the location of this folder configurable
because it is maintained (CVS) separately from the application. One
developer might check this folder out to location A and another to
location B. Path variables (configured in the IDE), would be ideal.
The directory contains images (jpg's) and data (xml's) that I want to
embed into my application.
I've tried using path variables:
[Bindable]
[Embed(source="${CURRENCY}/credit/AmericanExpress.jpg")]
public var icoAmericanExpress:Class;
I've tried using folders linked (named "currency") to my project
[Bindable]
[Embed(source="/currency/credit/AmericanExpress.jpg")]
public var icoAmericanExpress:Class;
Can anyone recommend the correct syntax to access either path
variables or linked folders? Or maybe even a better way to point to a
resource folder that exists somewhere else in my file system?
A description of both would be great!