...

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



bobrien314
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?

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum