Functions have always been extremely important in ActionScript. In ActionScript 1.0, for example, the
class
keyword did not exist, so "classes" were defined by constructor functions. Although the class
keyword has since been added to the language, a solid understanding of functions is still important if you want to take full advantage of what the language has to offer. This can be a challenge for programmers who expect ActionScript functions to behave similarly to functions in languages such as C++ or Java. Although basic function definition and invocation should not present a challenge to experienced programmers, some of the more advanced features of ActionScript functions require some explanation.
No comments:
Post a Comment