04-26-2012 06:47 AM
Hi !
I've noticed that after upgrading to OS 2.0.1 WebDownloadProgressEvent is not beeing dispatched (previuosly it worked fine).
I have something like this:
var wk:QNXStageWebView;
.....
wk.addEventListener(WebDownloadRequestEvent.DOWNLO
wk.addEventListener(WebDownloadStartedEvent.DOWNL
wk.addEventListener(WebDownloadProgressEvent.DOWN
wk.addEventListener(WebDownloadFinishedEvent.DOWN
and in downloadRequest I have:
e.action=WebDownloadRequestEvent.ACTION_SAVE;
wk.downloadUpdate(e.downloadId, WebDownloadRequestEvent.ACTION_SAVE, archivo);
With this, I should start receiving progress events when it's downloading files. File is really beeing downloaded and saved to location I set, but no progress event is dispatched and I can not show progress.
Is there any workarround?
Regards,
Jesus
Solved! Go to Solution.
05-02-2012 06:17 AM
No help on this?
Nobody having this issue?
05-02-2012 04:14 PM
Hi,
What IDE and what version of the SDK are you using? What kind of file are you downloading out of curiosity? I'll try and write a sample to test.
Thanks,
Dustin
05-02-2012 04:34 PM
Thanks for your answer.
I'm using Flex Buildrr 4.6 with latest sdk 2.
My app tries to download epub files, from http://www.gutenberg.org/ for example.
It worked fine until last OS 2.0.1 update, it does not work neither on devie nor on simulator now.
Thanks,
Jesus
05-02-2012 05:00 PM
Ok thanks. I'll look into it ![]()
05-03-2012 02:19 PM
Try adding:
e.target.downloadUpdate(1,"actionSave","URL");
To your downloadRequest function
If that doesn't work do you mind providing me with the full event functions you're using?
Thanks,
Dustin
05-03-2012 03:26 PM
Thanks dmalik!
It works changing the event name ![]()
Thanks again!!!
05-03-2012 03:44 PM
Awesome!