AS 2.0 code: object-oriented model
Related Tags:
Since a few years ago in the introduction of Flash Action Script Language (Action Script), it has a great development. Published every new version of Flash, ActionScript languages increased by keyword, methods, and other language elements. However, the different versions of previously released Flash, Flash MX 2004 and Flash MX Professional 2004 ActionScript 2.0 language introduced some new language elements can be implemented in a manner more standard object-oriented programming languages, so that the core elements of ActionScript language capability has been enhanced.
ActionScript 2.0 Language is not a new language. Rather, it consists of a set of core language elements to the development of object-oriented programming easier. Now, as class, interface, the expansion and the introduction of tools such as keyword, programmers familiar with other languages more easily learn ActionScript language syntax. New programmers can learn more standard terms, they can be used in the future they might have to learn from other object-oriented languages.
ActionScript 2.0 language support all moves of the standard elements of the scripting language, it allows you to prepare more fully close other object-oriented language (such as Java), a standard script. Are creating the need for a category and sub-category of intermediate or advanced Flash developers this will be quite interested. ActionScript 2.0 language also allows you to create a variable in its statement the object type, does not provide a significant improvement in compile errors.
Below is a list ActionScript 2.0 language in the new language elements.
Class
Extends
Implements
Interface
Dynamic
Static
Public
Private
Get
Set
Import
ActionScript 2.0 on the attention of language matters, including the following:
1. Use ActionScript 2.0 language class or interface definition scripts must be preserved for external script file, and each script can define a category. In other words, not in the class action panel and interface definition.
2. Be implicit (to store them in the overall or documents specified in the search path designated location and then use them in the script) or explicit (use of import orders) into one class files. Wildcards can be used import package (a directory of documents in the collection).
3. Flash 6 or higher version of the player supports moves by 2.0 scripting language development applications.
4. Flash MX 2004 to create a new document issued the default settings are ActionScript 2.0 language. If you plan to amend the existing FLA file, the use of ActionScript 2.0 language syntax, please ensure that the release of the FLA file settings specified in the language ActionScript 2.0. If you do not specify, the paper will not be able to correct compiler, although Flash will not have a compiler error.
- Css common code
- Common CSS code
- CSS code abbreviation skills zz
- CSS code-writing techniques commonly used
- Optimizing your CSS code
- Clever css debug code
- CSS code-switching function tab
- CSS code structure of: the div and span!
- Some commonly used CSS code
- CSS simple picture-Daolian code
- HTML and CSS pages prepared by the beautiful formal code
- CSS code attributes Encyclopaedia (HTML)
- Summary: A CSS code reference map
- CSS style definition of the rolling code
- How to Optimize your CSS code?
- The magic code - CSS filter trip
- Js code and code folding effect css
- CSS control ul code base
- Css code explain
- CSS code abbreviation skills




