RE: [flexcoders] What is the Flex solution to missing threads?

2007-05-30 Thread Tracy Spratt
The load is asynchronous and should not block the UI. However, intense, long proccessing will block the UI. A typical solution is to break the long process up into parts. Maube iterating i=_iIndex;i_iIndex+10;i++ then set _iIndex and use callLater() to restart the incrementer. callLater

Re: [flexcoders] What is the Flex solution to missing threads?

2007-05-30 Thread Robert Cadena
Hi Aaron, you'll have to split up your function so that it performs work in small chunks then schedules itself to be called later with 'callLater'. I ran into this problem when I wrote my syntax highlighting lib. So I split up the scanning function into a class of its own, with the previously