开发者

How could a flex UI processing data and displaydata in one thread

开发者 https://www.devze.com 2023-02-16 15:48 出处:网络
As I know. Flex/AS is single threaded. I want to write an application that talking to server side, also display the data streamed from se开发者_StackOverflow社区rver.

As I know. Flex/AS is single threaded.

I want to write an application that talking to server side, also display the data streamed from se开发者_StackOverflow社区rver.

Since Flex is single threaded. I am not sure how could I do this.

Better not involve something like "implement your own multi-thread model"

Thanks


There is no problem to talk to a server and handle the displaying at the same time. Communication (HTTPRequest, webServices, RemoteObject/AMF,...) is asynchronous, non-blocking. You can't update the screen at the same time that you're starting a request, but you can while you're waiting for the answer.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号