3 Replies Latest reply on Apr 7, 2009 12:38 PM by mcsanders

    File path from FileReference

    mcsanders Level 1

      Help! In Flex Builder, I'm trying to grab information about an image the user has selected using the FileReference browse method.  Any idea how I can get the local path to the file?   Should I be using something other than FileReference?  Here's a code snipit of what I'm doing:







      var fileRef:FileReference;


      fileRef =


      new FileReference();









      function onSelectFile(event:Event):void {

         imageLocationText.text = ?????

         imageNameText.text = fileRef.name;