Myfile.browseFor Open / Myfile.browseForSave allows you to assign a directory first with a “resolvePath” before calling Myfile.browseFor Open / Myfile.browseForSave to start the browsing in the defined directory (within Adobe Flash Professional CS6 – Version 22.214.171.1249). But when the application is packaged as an AIR application using the “resolvePath” first does not work: Myfile.browseFor Open / Myfile.browseForSave appears to open in the last directory used. Think this used to work correctly in AIR. Is there a workaround to preload the directory to start the dialog box in that directory?
Not exactly sure how to override the documents directory, but the problem doesn’t appear to be related to documentsDirectory or any of the exposed properties.
I think there must be an internal “lastdirectoryused” property that is used in AIR, but not in Flash Pro (or that is overwritten in Flash Pro – so it works correctly, but not in AIR runtime.)
Thomas M. Keeley
President & Technical Visionary
Devices / Systems that can interpret information better and faster and can react better and faster will win.
Organizations that control those devices / systems will win.
Organizations that can accumulate these devices / systems faster will win.
KEEL® Technology is covered by granted (6.833.842, 7.039.623, 7.009.610, 7.159.208, 7.512.581, 7.685.528) patents and requires a license from Compsim for its use or evaluation.