Go Back   CodingForums.com > :: Client side development > Flash & ActionScript > Adobe Flex

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-31-2012, 03:58 PM   PM User | #1
bobrien314
New to the CF scene

 
Join Date: May 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
bobrien314 is an unknown quantity at this point
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?
bobrien314 is offline   Reply With Quote
Old 06-01-2012, 06:07 AM   PM User | #2
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,604
Thanks: 2
Thanked 399 Times in 392 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
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.

Inigoesdr is offline   Reply With Quote
Reply

Bookmarks

Tags
felx 3, flash, images, mx:image

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:59 PM.


Advertisement
Log in to turn off these ads.