Hi,

The only way to use a progress bar in a single threaded environment is to break it.

I don't know exactly what you are doing but, I had the same problem making a documenter in AS3. I was able to break up the process into a stack, run throught a Timer loop at the end of each action.

The thing is you have to put your directives in a stack that can be poped and then  run like a 100 millisecond timer that waits for the next queued directive. At this time you could call your;

myProgressBar.validateNow ();

then the timer end handler will invoke the next stack call.

Peace, Mike

On 10/16/06, Steve Kellogg @ Project SOC < [EMAIL PROTECTED]> wrote:

Hello,

 

I've got a long CPU routine, and I'm using a progress bar to show the user that we're making…. progress..

 

The PROBLEM is that the progress bar doesn't seem to be updating until my long CPU TASK is complete (presumably because I'm not relinquishing the CPU during the routine).

 

Is there anyway to tell Flex/Flash to IMMEDIATELY redraw an element in the UI?

 

 

Thanks in advance for any advice.

 

 

Steve

 

 

 

Steve Kellogg

Peak8 Solutions

1401 14th Street

Boulder, Colorado

80302, USA

Fax: 303.415.2597

E-Mail: [EMAIL PROTECTED]

 




--
What goes up, does come down. __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to