PDA

View Full Version : Relative path for "file:"


Gmc_fx
04-02-2009, 08:06 PM
Hello,
I am writing AIR application, and in it i will have some icons. What i don't know is how to put relative path for those icons, so who ever install my application AIR would know where it can find those icons.

Right now i have something like this:
<mx:Image source="file:///C|\Documents and Settings\XXXX\Flex Builder 3\Project\img\zas\Picture1.gif"/>

and would need probably something like this

<mx:Image source="file:///..\img\zas\Picture1.gif"/>

but this is nost working