I am creating a file testing program in actionscript 3. I have the URL loader to load the file path + name typed in the textbox. However I am looking to upgrade the experience. I am trying to find a way to choose a file location and name from a function like browseforDirectory(). If anyone could help with providing me either a link to documentation on how to do this or if anyone could help me out that would be awesome. For an example of how its set up currently.
public var TestPath:string = this.TestTxt.txt;
..
this.ldr.load(new URLRequest(TestPath));
This is pretty much a simple example of what would be going on. I am just looking for a way to find a file via browsing for it in a file select window and save the complete path of the file. Sorry if I sound repetitive and all help is appreciate. Couldn't find any documentation towards this specific topic.