简体   繁体   English

Flex和Actionscript中的并发和联网

[英]Concurrency and Networking in Flex and Actionscript

I am interested in making a RIA in Flex that will communicate with my server. 我有兴趣在Flex中制作一个RIA,该RIA将与我的服务器通信。 The application will be downloading and uploading very often. 该应用程序将非常频繁地下载和上传。 It will need to be able to download hundreds of images over the course of its runtime. 它需要能够在其运行过程中下载数百个图像。

However, I have read that Flash does not support threading. 但是,我读过Flash不支持线程。 Would this be a major problem if I want the UI to run smoothly while the application downloads and uploads in the background? 如果我希望UI在应用程序在后台下载和上传时平稳运行,这将是一个主要问题吗?

Flash uses a separate thread for networking. Flash使用单独的线程进行联网。 All I/O is asynchronous so the UI doesn't block while communicating with the network. 所有I / O都是异步的,因此UI在与网络通信时不会阻塞。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM