Unfortunately this isn't as straight forward as you would think.
 
FileReference, for some reason, will not allow you to access the data of
the file you have located. Therefore the only way that I am aware of to
do what you want would be to upload this file to a server first, then
load it into flex using swfloader or an image control.
 
 
 
-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nchumbo
Sent: 28 November 2006 13:05
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to choose an image
 
hi, i'm a neewbie in flex programming.

How can i choose an image anywhere in my computer and show it in a mx
image control?

i'm trying trying to use FileReference.Browse but i only get the name
of the selected file and not the all path.

Can someone help me?

Thanks in advance
Nuno
 

Reply via email to