You can't. FileReference doesn't give you any access to the data in a file. You need to send the file to a server, then download it from the server to be able to do anything with the File. If you're making an Apollo app then that's a different story, but for a web-based Flex app all files have to get routed through a server before you can access the data.
So it's something like: User selects file -> send to your server to save it -> once save is complete send a request to server to download -> load it into Image component This is one of those features that falls under the "Overbearing Security Features" of Flex/Flash Player, but that's what we have to work with. Doug On 5/11/07, jmfillman <[EMAIL PROTECTED]> wrote:
Anyone??? --- In [email protected] <flexcoders%40yahoogroups.com>, "jmfillman" <[EMAIL PROTECTED]> wrote: > > I want to let a user select an image file, using FileReference and have > the selected image load into Flex and display in the app. > > I know how to use FileReference to filter only images and allow them to > select the file, but how do I take that image file and load and display > it in the app? >

