0 Replies Latest reply on Oct 29, 2013 2:59 PM by Shadow92

    How do I create a HTMLLoader that allows downloads?

    Shadow92

      I've been working on creating a air app that is essentially a browser. I've been trying to get it to allow external downloads, but I've had no success so far. I can get it to pop open a new window for external links by overriding the htmlLoader class, but unless it's a pdf, I can't seem to get downloads working. I think I should attach a event listener to all the links on the page, and if the content-disposition is an application then to use FileReference to download it but I'm lost on how to actually implement this. Any tips or help would be greatly appreciated.