8 Replies Latest reply on Mar 4, 2008 8:57 AM by Gregory Lafrance

    How to load an image from local disk?


      I have spent hours on the net searching for an example, that could
      show me how could I make a flex script that user could browse (like fileReference.browse() ) for a
      file (picture) and then show this picture in the browser (so
      the source of some existing picture would change).
      I found only multiple solutions on how to upload a picture, but
      that is not the thing I wanna do. I want a user to load a picture from
      his disk and simply to be seen in a browser (on a page).

      I tried programming it alone, but the FileReference class has no attribute path or similar, that I could use for source of my image.
      Please help, I need to do this urgently.

      Thank you very very much