Hi,

Flex2/ActionScript programming model is singlethreaded, but it has
asynchronous IO calls. This means that obviously AVM has threads to
implement asyncIO.

I need to perform some time consuming computations within actionscript,
but I can't spawn new thread in AS. Hence the questions:

1. can I somehow implement local service which will receive requests and
post responses (events) to consume in GUI (event dispatch thread)? I
mean reuse asynchronous IO implementation.

2. back in windows 3.xx days (single threaded os) there was "nested
event loop" approach so within computation loop I can call something
like dispatchMessages() to prevent UI from lockup. Is it possible with
flex?










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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to