View Full Version : Flex3 - mx:image Absolute file path as source not working

05-31-2012, 03:58 PM
In flex3, can you have an image source equal to an absolute file path?

Currently my code looks something like this: <mx:Image source='c:/images/image.jpg'> and when I load my program it cannot find the image, but it does exist. Is there any way to use absolute file paths for an image?

06-01-2012, 06:07 AM
You can't in Flex 4, and i suspect Flex 3 is similar/the same. When you load an image component in Flash Builder and select an image it prompts you to either copy the file in to the project's assets folder(so it would be relative), or embed the image in the application.