Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
rawsonl  
#1 Posted : Wednesday, August 15, 2007 11:26:29 PM(UTC)
rawsonl

Rank: Member

Groups: Member
Joined: 8/15/2007(UTC)
Posts: 14

I create a file list and assign it on the

fd.fullPageLoadListenerName = "onFullPageLoad";

event. I push the download button, use the show file list, and then press the cancel button. From then on my download button does absolutely nothing. I had to capture the success of the downloads in the "DownloadItemComplete" event then reload the file list in the "DownloadComplete" event to get around this problem. In my mind it is a bug unless there is an event for the pressing of the cancel button.

Thanks,

Eugene Kosmin  
#2 Posted : Monday, August 20, 2007 3:07:39 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 455

Was thanked: 27 time(s) in 27 post(s)
Hello Linda,

We tried to reproduce this behavior with no success. Could you post here your source code?

Cancel button pressing can be handled with Download Complete event:

Code:

function FileDownloaderID_DownloadComplete(Result)
{
	if (Result == 4)
	{
		alert("Download was cancelled by user");
	}	
}
...
fd.addEventListener("DownloadComplete", "FileDownloaderID_DownloadComplete");

Edited by user Tuesday, February 26, 2008 11:19:34 AM(UTC)  | Reason: Not specified

Best regards,

Eugene Kosmin.

Aurigma Development Team

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.