1

I am working with Flex, Flash, Action Script and I want to browse the local machine file system using Operating System's file browse window and select a file then i want to get the full path of the selected file. How can I do this? Please give me some code.

Thanks in advance!

Buddhi
  • 2,224
  • 5
  • 32
  • 43

3 Answers3

4

In Flash Player 10, you can use a FileReference to get the name or load the data of a file on the local filesystem, but are purposely restricted from getting the full file path and many other operations available with AIR's File and FileStream classes.

Michael Brewer-Davis
  • 14,018
  • 5
  • 37
  • 49
2

I think its the nativePath (which gives it in the OS's representation) property on the File object.

Here is a link: http://livedocs.adobe.com/flex/3/html/help.html?content=Filesystem_03.html

Marshall Alsup
  • 233
  • 1
  • 4
1

I think you can access the local files of the operating system in AIR applications.Plz correct me if wrong

Prashant Dubey
  • 187
  • 1
  • 2
  • 11