So in fact as i understand you correctly, the only way to show the contents of the user selected file on the screen without converting the flex app' in to stand alone app' is to let the user to choose the file (with FileReference class), upload selected file to server, open it there and send it back to flex app' as byte stream from the server ?
Thanks. --- In [email protected], "Karl Johnson" <[EMAIL PROTECTED]> wrote: > > Because of security restrictions, the Flash Player running in the > browser can not access the user's file system. The only way to do this > is to wrap your flex swf in something like Zinc which allows it to run > as a desktop application, or of course Adobe Apollo, which is in > alpha/almost-beta right now. > > > > Karl > > > > Cynergy > > > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of ziksable > Sent: Sunday, February 25, 2007 7:01 AM > To: [email protected] > Subject: [flexcoders] is there a way to open a file in flex app' > > > > hi guys, > i'm pretty new to flex. > is there a way in flex 2 (action script 3) to perform the following > action: let user (client) to choose the file on his local comp' and > display its contents on the screen. > > i've looked on FileReference class. but it seems the class allows just > to upload the file to the server and not to look on the file stream. > > Thanks, > :) >

