You can't force the Flash Player to redraw in the middle of a long computation. You'll have to break the computation into smaller pieces that can be performed frame-by-frame or timer-event-by-timer-event and which store their state so that they can continue later.

 

- Gordon

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kellogg @ Project SOC
Sent: Monday, October 16, 2006 7:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Invalidating a control for IMMEDIATE redraw?

 

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]com

 

__._,_.___

--
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