Flash Player Security Forum (was Re: [flexcoders] Re: Load Display Image from FileReference)

2007-05-12 Thread John Robinson
Initially I had a whole post asking questions about why this was the case (can't reference user-selected file without uploading/ downloading first) but I felt it was pretty OT for the flexcoders list (or probably flashcoders list for that matter). Does anyone know of a venue for discussing

[flexcoders] Re: Load Display Image from FileReference

2007-05-11 Thread jmfillman
Anyone??? --- In flexcoders@yahoogroups.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

Re: [flexcoders] Re: Load Display Image from FileReference

2007-05-11 Thread Doug McCune
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

[flexcoders] Re: Load Display Image from FileReference

2007-05-11 Thread jmfillman
What about with Apollo? That gives you read/write access to files on a local machine.

[flexcoders] Re: Load Display Image from FileReference

2007-05-11 Thread jmfillman
Flex would also have to pass the file to PHP/ColdFusion, so it must get loaded into the app, before being sent out to the server.

Re: [flexcoders] Re: Load Display Image from FileReference

2007-05-11 Thread Daniel Freiman
Apollo would work. I have no specific knowlage but my guess is that flex doesn't actually access your file system. What it probably does is tell your browser to access the file system. In any event, this issues has been widely discussed and there isn't a way around it (unless you can figure