The language specifications of ActionScript are getting closer and closer to Java, but some important features are not supported.
The following are some points:
(1)Generics
Generics greatly improves coding efficiency and running efficiency. The lack of generics makes programming quite uncomfortable,CodeIt looks tedious and ugly.
(2)Thread
Currently, ActionScript is a single-threaded language, which makes it a habit for multi-task operators to perform multi-part and scheduled operations ".
This articleArticleFor more information about threads in ActionScript 3, see.
Here is a thread Simulation Implementation of The ActionScript thread library 1.0
(3)Network
Currently, actionscript mainly supports the network client function, which is very different from the network functions of C, Java, and. net.
Unfortunately, UDP is not supported. It can be seen that there is still a long way to go to the implementation of air.
(4)Reflection
For more information, see reflection in ActionScript 3.0/flex 2.