Download image from Desktop application adobe air

154 Views Asked by At

Switched flex browser to flex desktop application. Was using navigateToURL to download images from the browser but clicking the button in the desktop app, its opening the browser and I dont want that to happen. Can I still use navigateToURL or do I need something else?

Code right now:

fileRef = new FileRefrence();
url.url = dest;
url.method = "GET";
url.data = variables;
url.contentType = "multipart/form-data";
fileRef.download(url, variables.filename);


0

There are 0 best solutions below