问题
I'm trying to implement the following Exif reading library with as3, but I can't load the browsed file.
In the library example they use loader.load(new URLRequest("http://www.example.com/sample.jpg"));
for loading the image, the problem in my application is that the file is selected by a file-browser in a local computer.
I tried a fileReference.name but it doesn't work, the only way that I found to make my test, is putting a file in the same directory than the .swf like this :
loader.load(new URLRequest("IMG_001.JPG"));
Can you tell me what is the parameter that I can put in the URLRequest
function to get the path of the selected file ?
Thank you
来源:https://stackoverflow.com/questions/61396622/how-reading-exif-metadata-from-file