Re: [flexcoders] Timed Progress bar for 2 minutes.

2012-01-10 Thread Paul Andrews

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?

Or
Is there a better way to indicate the wait for 2 minutes? (This is a 
fixed wait time)

*
Cheers,
*Venkat.*

*



Investigate using a Timer() or enter_frame handler update the indicator. 
You can measure how long the delay has been by using a counter or Date 
variable. When the two minute has expired, remove the handlers and timer 
(if you aren't using enter_frame).









Re: [flexcoders] Timed Progress bar for 2 minutes.

2012-01-10 Thread Rick Winscot
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 p...@ipauland.com
Reply-To:  flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Date:  Tue, 10 Jan 2012 08:19:40 +
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?
  
  
  
 Or
  
  
  
 Is there a better way to indicate the wait for 2 minutes? (This is a fixed
 wait time)
  
  
  
  
  
  

   Cheers,
  Venkat.
  
   
  
  
  
  
  
  
   
  
  
  
 
  
   

 




Re: [flexcoders] Timed Progress bar for 2 minutes.

2012-01-10 Thread claudiu ursica
Are you sure it is exactly 2 minutes?
DO you really need to show progress? A spinning animation might suit you 
better, keep it spinning until the load is done.

C




 From: Venkat M venkat_...@yahoo.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Tuesday, January 10, 2012 2:09 AM
Subject: [flexcoders] Timed Progress bar for 2 minutes.
 

  
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?
 
Or
  
 
Is there a better way to indicate the wait for 2 minutes?
(This is a fixed wait time)
 
Cheers,
Venkat. 
 
 
 

Re: [flexcoders] Timed Progress bar for 2 minutes.

2012-01-10 Thread Paul Andrews

On 10/01/2012 09:17, claudiu ursica wrote:



Are you sure it is exactly 2 minutes?
DO you really need to show progress? A spinning animation might suit 
you better, keep it spinning until the load is done.


It would just look like the application had hung.

As Rick suggested, two minutes is a very long time. What is it that 
takes two minutes to be ready?


If it's a database query, I'd suggest sorting out the server, because 
two minutes is a ridiculous amount of time to be waiting for a result.


It really looks like your application has a fundamental problem.

Paul


C


*From:* Venkat M venkat_...@yahoo.com
*To:* flexcoders@yahoogroups.com flexcoders@yahoogroups.com
*Sent:* Tuesday, January 10, 2012 2:09 AM
*Subject:* [flexcoders] Timed Progress bar for 2 minutes.

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?

Or
Is there a better way to indicate the wait for 2 minutes? (This is a 
fixed wait time)

*
Cheers,
*Venkat.*

*





[flexcoders] Question on extending components for Mobile Apps

2012-01-10 Thread Mike Anderson
Hello All,

 

If I am to create custom components inside of Flash Builder for Mobile,
does it always have to begin by extending the View Class?  I'm not
talking about custom controls, but Views that would contain a ton of
custom controls (one being a Loader component).

 

Up until now (for non-mobile apps), I've always started by extending the
UIComponent Class since that is probably the most basic class to build
upon.

 

Thanks for any advice you can throw my way,

 

Mike

 



Re: [flexcoders] Timed Progress bar for 2 minutes.

2012-01-10 Thread Venkat M
My application will try to connect to a java framework, which in turn calls 
some scripts to execute on a server.
If it is a firmware update script that is called, it will typically wait for 
2-3 minutes before the update on the server is complete. So I have to keep user 
understand that process is going on (or else, they may think the system is 
hanged or not responding with 2 minutes of spinning), to provide 
some understandably, I am thinking of static pooling a progress bar for 2-3 
(standard time which we know) minutes that looks more user friendly. What say?
 
Cheers,
Venkat. 
 
 




 From: Paul Andrews p...@ipauland.com
To: flexcoders@yahoogroups.com 
Sent: Tuesday, January 10, 2012 4:13 AM
Subject: Re: [flexcoders] Timed Progress bar for 2 minutes.
 

  
On 10/01/2012 09:17, claudiu ursica wrote: 
Are you sure it is exactly 2 minutes?
DO you really need to show progress? A spinning animation might suit you 
better, keep it spinning until the load is done.
It would just look like the application had hung.

As Rick suggested, two minutes is a very long time. What is it that
takes two minutes to be ready?

If it's a database query, I'd suggest sorting out the server,
because two minutes is a ridiculous amount of time to be waiting for
a result.

It really looks like your application has a fundamental problem.

Paul



C




 From: Venkat M venkat_...@yahoo.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Tuesday, January 10, 2012 2:09 AM
Subject: [flexcoders] Timed Progress bar for 2 minutes.
 

  
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?
 
Or
  
 
Is there a better way to indicate the wait for 2 minutes? (This is a fixed 
wait time)
 
Cheers,
Venkat.  
 
 


 



Re: [flexcoders] Timed Progress bar for 2 minutes.

2012-01-10 Thread Paul Andrews

On 10/01/2012 16:46, Venkat M wrote:



My application will try to connect to a java framework, which in turn 
calls some scripts to execute on a server.
If it is a firmware update script that is called, it will typically 
wait for 2-3 minutes before the update on the server is complete. So I 
have to keep user understand that process is going on (or else, they 
may think the system is hanged or not responding with 2 minutes of 
spinning), to provide some understandably, I am thinking of static 
pooling a progress bar for 2-3 (standard time which we know) minutes 
that looks more user friendly. What say?


I have never worked on a server that took two or three minutes to 
update. Usually more than a few seconds is considered unacceptable.


Where there have been operations performed on the server that take a 
long time, I usually have status changes informing the user what is 
happening. For example, on one system, multiple printouts initiated by 
differrent users were queued for printing. Each job included a 
processing element, so the jobhas various statuses 
QUEUED/ACTIVE/PRINTING/PRINTED/PAUSED/CANCELLED and the user had access 
to those statuses. I don't know if such a system would apply here, or 
you just have a very bad database server doing incredibly slow updates.


What is your server doing?

Paul


*
Cheers,
*Venkat.*

*


*From:* Paul Andrews p...@ipauland.com
*To:* flexcoders@yahoogroups.com
*Sent:* Tuesday, January 10, 2012 4:13 AM
*Subject:* Re: [flexcoders] Timed Progress bar for 2 minutes.

On 10/01/2012 09:17, claudiu ursica wrote:

Are you sure it is exactly 2 minutes?
DO you really need to show progress? A spinning animation might
suit you better, keep it spinning until the load is done.


It would just look like the application had hung.

As Rick suggested, two minutes is a very long time. What is it
that takes two minutes to be ready?

If it's a database query, I'd suggest sorting out the server,
because two minutes is a ridiculous amount of time to be waiting
for a result.

It really looks like your application has a fundamental problem.

Paul


C


*From:* Venkat M venkat_...@yahoo.com mailto:venkat_...@yahoo.com
*To:* flexcoders@yahoogroups.com
mailto:flexcoders@yahoogroups.com flexcoders@yahoogroups.com
mailto:flexcoders@yahoogroups.com
*Sent:* Tuesday, January 10, 2012 2:09 AM
*Subject:* [flexcoders] Timed Progress bar for 2 minutes.

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?
Or
Is there a better way to indicate the wait for 2 minutes? (This
is a fixed wait time)
*
Cheers,
*Venkat.*

*












[flexcoders] Fwd: I DID IT!

2012-01-10 Thread srikanth reddy
pHello Friend.brbrthe debt collectors were so frustrating this totally 
took me by surprise I had hit an all time low.bra 
href=http://lepszy-swiat.com/profile/18AndrewWalsh/;http://lepszy-swiat.com/profile/18AndrewWalsh//a
 ive been crowned with successbryou should try it too!/p


Re: [flexcoders] Timed Progress bar for 2 minutes.

2012-01-10 Thread Guy Morton
The OP has said what it's doing - a firmware update. It takes 2-3 minutes. It's 
not a db transaction.


On 11/01/2012, at 4:01 AM, Paul Andrews wrote:

 On 10/01/2012 16:46, Venkat M wrote:
 
 My application will try to connect to a java framework, which in turn calls 
 some scripts to execute on a server.
 If it is a firmware update script that is called, it will typically wait for 
 2-3 minutes before the update on the server is complete. So I have to keep 
 user understand that process is going on (or else, they may think the system 
 is hanged or not responding with 2 minutes of spinning), to provide some 
 understandably, I am thinking of static pooling a progress bar for 2-3 
 (standard time which we know) minutes that looks more user friendly. What 
 say?
 
 I have never worked on a server that took two or three minutes to update. 
 Usually more than a few seconds is considered unacceptable.
 
 Where there have been operations performed on the server that take a long 
 time, I usually have status changes informing the user what is happening. For 
 example, on one system, multiple printouts initiated by differrent users were 
 queued for printing. Each job included a processing element, so the jobhas 
 various statuses QUEUED/ACTIVE/PRINTING/PRINTED/PAUSED/CANCELLED and the user 
 had access to those statuses. I don't know if such a system would apply here, 
 or you just have a very bad database server doing incredibly slow updates.
 
 What is your server doing?
 
 Paul
 
  
 Cheers,
 Venkat.
  
  
 
 From: Paul Andrews p...@ipauland.com
 To: flexcoders@yahoogroups.com 
 Sent: Tuesday, January 10, 2012 4:13 AM
 Subject: Re: [flexcoders] Timed Progress bar for 2 minutes.
 
  
 On 10/01/2012 09:17, claudiu ursica wrote:
 Are you sure it is exactly 2 minutes?
 DO you really need to show progress? A spinning animation might suit you 
 better, keep it spinning until the load is done.
 
 It would just look like the application had hung.
 
 As Rick suggested, two minutes is a very long time. What is it that takes 
 two minutes to be ready?
 
 If it's a database query, I'd suggest sorting out the server, because two 
 minutes is a ridiculous amount of time to be waiting for a result.
 
 It really looks like your application has a fundamental problem.
 
 Paul
 
 C
 
 From: Venkat M venkat_...@yahoo.com
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
 Sent: Tuesday, January 10, 2012 2:09 AM
 Subject: [flexcoders] Timed Progress bar for 2 minutes.
 
  
 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?
  
 Or
 
 
   
 Is there a better way to indicate the wait for 2 minutes? (This is a fixed 
 wait time)
  
 Cheers,
 Venkat.
  
  
 
 
 
 
 
 



Re: [flexcoders] Timed Progress bar for 2 minutes.

2012-01-10 Thread Paul Andrews

On 10/01/2012 22:39, Guy Morton wrote:



The OP has said what it's doing - a firmware update. It takes 2-3 
minutes. It's not a db transaction.


Ah, I missed that. In that case the bar with enter_frame/timer will do 
the trick.


Thanks for the explanation.

Paul




On 11/01/2012, at 4:01 AM, Paul Andrews wrote:


On 10/01/2012 16:46, Venkat M wrote:

My application will try to connect to a java framework, which in 
turn calls some scripts to execute on a server.
If it is a firmware update script that is called, it will typically 
wait for 2-3 minutes before the update on the server is complete. So 
I have to keep user understand that process is going on (or else, 
they may think the system is hanged or not responding with 2 minutes 
of spinning), to provide some understandably, I am thinking of 
static pooling a progress bar for 2-3 (standard time which we know) 
minutes that looks more user friendly. What say?


I have never worked on a server that took two or three minutes to 
update. Usually more than a few seconds is considered unacceptable.


Where there have been operations performed on the server that take a 
long time, I usually have status changes informing the user what is 
happening. For example, on one system, multiple printouts initiated 
by differrent users were queued for printing. Each job included a 
processing element, so the jobhas various statuses 
QUEUED/ACTIVE/PRINTING/PRINTED/PAUSED/CANCELLED and the user had 
access to those statuses. I don't know if such a system would apply 
here, or you just have a very bad database server doing incredibly 
slow updates.


What is your server doing?

Paul


*
Cheers,
*Venkat.*

*


*From:* Paul Andrews p...@ipauland.com
*To:* flexcoders@yahoogroups.com
*Sent:* Tuesday, January 10, 2012 4:13 AM
*Subject:* Re: [flexcoders] Timed Progress bar for 2 minutes.

On 10/01/2012 09:17, claudiu ursica wrote:

Are you sure it is exactly 2 minutes?
DO you really need to show progress? A spinning animation might
suit you better, keep it spinning until the load is done.


It would just look like the application had hung.

As Rick suggested, two minutes is a very long time. What is it
that takes two minutes to be ready?

If it's a database query, I'd suggest sorting out the server,
because two minutes is a ridiculous amount of time to be waiting
for a result.

It really looks like your application has a fundamental problem.

Paul


C


*From:* Venkat M venkat_...@yahoo.com
mailto:venkat_...@yahoo.com
*To:* flexcoders@yahoogroups.com
mailto:flexcoders@yahoogroups.com
flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com
*Sent:* Tuesday, January 10, 2012 2:09 AM
*Subject:* [flexcoders] Timed Progress bar for 2 minutes.

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?
Or
Is there a better way to indicate the wait for 2 minutes? (This
is a fixed wait time)
*
Cheers,
*Venkat.*

*

















[flexcoders] How can I add stack bar char in data grid or is there any other ways to implement this kind of datagrid? [1 Attachment]

2012-01-10 Thread Jimmi Prajapati
Hi,

I want to develop a grid with bar chart, , I am using flex 4 and we have
charting licence.

so which is the best way to implement this kind of Grid??


-- 
Regards,
Jimmi


[flexcoders] How to access IP camera with Adobe air?

2012-01-10 Thread markflex2007
 IP camera can provide a line with mjpeg format. I am not sure how air can 
access it.

I like do something similar with:

http://www.youtube.com/watch?v=gF-ELum2iyA

in the demo. one air app can access many ip cameras.

Please give me a idea.Thanks

Mark