开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜