You'll need to implement a polling mechanism that ties into your server-side process… that can update your progress control. If you are using something like BlazeDS or sockets and can retrieve the that value in realtime – you just need to figure ( current / total ) = percent complete.
From a user point of view… I'd hate to have to sit and look at something running for 2 minutes at a time; just saying'.
Cheers,
Rick Winscot
From: Paul Andrews <paul@ipauland.com>
Reply-To: "flexcoders@yahoogroups.com" <flexcoders@yahoogroups.com>
Date: Tue, 10 Jan 2012 08:19:40 +0000
To: "flexcoders@yahoogroups.com" <flexcoders@yahoogroups.com>
Subject: Re: [flexcoders] Timed Progress bar for 2 minutes.
Reply-To: "flexcoders@yahoogroups.com" <flexcoders@yahoogroups.com>
Date: Tue, 10 Jan 2012 08:19:40 +0000
To: "flexcoders@yahoogroups.com" <flexcoders@yahoogroups.com>
Subject: Re: [flexcoders] Timed Progress bar for 2 minutes.
On 10/01/2012 01:09, Venkat M wrote:
Hi, I have a scenario in my application. I know that the wait time for the response is 2 minutes.Can someone let me know how we can run a progress bar for 2 minutes loading from 0% to 100% in the same 2 minutes? OrIs there a better way to indicate the wait for 2 minutes? (This is a fixed wait time)
Cheers,Venkat.
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
MARKETPLACE
.
__,_._,___
0 comments:
Post a Comment