You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Chris Ellem <ch...@gmail.com> on 2015/07/24 01:41:14 UTC
Latest Chrome - ProgressEvent.PROGRESS handler not called
Hi has anyone had file download issues with the latest chrome.
My progress and complete handlers are not being called.
any ideas to resolve.
Thanks
Chris
configureListeners();
file.download(downloadURL, fileNameString);
private function configureListeners(): void {
// create the event listeners for the download process.
file.addEventListener(Event.SELECT, selectHandler);
file.addEventListener(Event.OPEN, openHandler);
file.addEventListener(Event.CANCEL, cancelHandler);
file.addEventListener(ProgressEvent.PROGRESS, progressHandler);
file.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
file.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
securityErrorHandler);
file.addEventListener(Event.COMPLETE, completeHandler);
}
private function progressHandler(event:ProgressEvent): void {
trace('782 progressHandler basic_download');
trace('total bytes '+int(event.bytesTotal) + " bytes");
}
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Latest-Chrome-ProgressEvent-PROGRESS-handler-not-called-tp10846.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Latest Chrome - ProgressEvent.PROGRESS handler not called
Posted by Marcus Fritze <ma...@googlemail.com>.
I think this is the issue: https://code.google.com/p/chromium/issues/detail?id=508261
> Am 24.07.2015 um 01:41 schrieb Chris Ellem <ch...@gmail.com>:
>
> Hi has anyone had file download issues with the latest chrome.
>
> My progress and complete handlers are not being called.
>
> any ideas to resolve.
>
> Thanks
> Chris
>
> configureListeners();
> file.download(downloadURL, fileNameString);
>
> private function configureListeners(): void {
> // create the event listeners for the download process.
> file.addEventListener(Event.SELECT, selectHandler);
> file.addEventListener(Event.OPEN, openHandler);
> file.addEventListener(Event.CANCEL, cancelHandler);
> file.addEventListener(ProgressEvent.PROGRESS, progressHandler);
> file.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
> file.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
> securityErrorHandler);
> file.addEventListener(Event.COMPLETE, completeHandler);
> }
>
> private function progressHandler(event:ProgressEvent): void {
> trace('782 progressHandler basic_download');
> trace('total bytes '+int(event.bytesTotal) + " bytes");
> }
>
>
>
>
> --
> View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Latest-Chrome-ProgressEvent-PROGRESS-handler-not-called-tp10846.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Latest Chrome - ProgressEvent.PROGRESS handler not called
Posted by Marcus Fritze <ma...@googlemail.com>.
Hi Chris,
Thanks for your information. I have the same issue, I can not download a file.
Does anybody have the related chromium issue?
Thanks
Marcus
> Am 24.07.2015 um 01:41 schrieb Chris Ellem <ch...@gmail.com>:
>
> Hi has anyone had file download issues with the latest chrome.
>
> My progress and complete handlers are not being called.
>
> any ideas to resolve.
>
> Thanks
> Chris
>
> configureListeners();
> file.download(downloadURL, fileNameString);
>
> private function configureListeners(): void {
> // create the event listeners for the download process.
> file.addEventListener(Event.SELECT, selectHandler);
> file.addEventListener(Event.OPEN, openHandler);
> file.addEventListener(Event.CANCEL, cancelHandler);
> file.addEventListener(ProgressEvent.PROGRESS, progressHandler);
> file.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
> file.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
> securityErrorHandler);
> file.addEventListener(Event.COMPLETE, completeHandler);
> }
>
> private function progressHandler(event:ProgressEvent): void {
> trace('782 progressHandler basic_download');
> trace('total bytes '+int(event.bytesTotal) + " bytes");
> }
>
>
>
>
> --
> View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Latest-Chrome-ProgressEvent-PROGRESS-handler-not-called-tp10846.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.