CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Adobe Flex (http://www.codingforums.com/forumdisplay.php?f=63)
-   -   Flex3 - mx:image Absolute file path as source not working (http://www.codingforums.com/showthread.php?t=263142)

bobrien314 05-31-2012 03:58 PM

Flex3 - mx:image Absolute file path as source not working
 
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?

Inigoesdr 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.

http://i.imgur.com/JWFco.png


All times are GMT +1. The time now is 07:32 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.