ActionScript Chinese e-book.
You need to study flash.
Action script dictionary overview
This dictionary describes the syntax and usage of action script elements in Macromedia Flash MX 2004 and Macromedia Flash MX Professional 2004. To use the examples in a script, copy the sample code in this dictionary and paste it into the Scripts pane or into the external script file. This dictionary lists all action script elements, including operators, keywords, statements, actions, properties, functions, classes, and methods. For an overview of all dictionary entries, see the dictionary content; to find operator symbols or methods whose classes are unknown, you can start with the tables in this section. For information about components, see Using components.
There are two types of entries in this dictionary:
Individual entries representing operators, keywords, functions, variables, properties, methods, and statements
Class entries that provide general information about built-in classes
The information in the example entries is used to explain the structures and conventions used in these types of entries.
Example entries for most action script elements
The following example dictionary entry explains the convention used for all action script elements except the class.
Title
All entries are listed alphabetically. This alphabetical order does not take into account capital, leading underscores, etc.
Availability
Unless otherwise stated, the “Availability” section will indicate which versions of Flash Player support this element. The version mentioned here is different from the version of Flash used to create this content. For example, if you use Macromedia Flash MX 2004 or Macromedia Flash MX Professional 2004 to create content for Flash Player 6, you can only use action script elements that can be used for Flash Player 6.
In some cases, this section also points out which version of the authoring tool supports an element. For examples, see
()。
Finally, if an element is only supported in ActionScript 2.0, this information will also be pointed out in that section.
usage
This section provides the correct syntax to use this action script element in the code. The required part of the syntax is represented in code fonts, and the code provided by the user is represented in italic code fonts. Brackets ([]) represent optional parameters.
parameter
This section describes all the parameters listed in the syntax.
return
This section explains what value the element returns (if any).
illustrate
This section identifies the element type (such as operators, methods, functions, etc.) and then describes how to use the element.
Example
This section provides a code example that demonstrates how to use this element.
See also
This section lists the relevant action script dictionary entries.
Download address:/cgi-bin/?fileid=1401494
You need to study flash.
Action script dictionary overview
This dictionary describes the syntax and usage of action script elements in Macromedia Flash MX 2004 and Macromedia Flash MX Professional 2004. To use the examples in a script, copy the sample code in this dictionary and paste it into the Scripts pane or into the external script file. This dictionary lists all action script elements, including operators, keywords, statements, actions, properties, functions, classes, and methods. For an overview of all dictionary entries, see the dictionary content; to find operator symbols or methods whose classes are unknown, you can start with the tables in this section. For information about components, see Using components.
There are two types of entries in this dictionary:
Individual entries representing operators, keywords, functions, variables, properties, methods, and statements
Class entries that provide general information about built-in classes
The information in the example entries is used to explain the structures and conventions used in these types of entries.
Example entries for most action script elements
The following example dictionary entry explains the convention used for all action script elements except the class.
Title
All entries are listed alphabetically. This alphabetical order does not take into account capital, leading underscores, etc.
Availability
Unless otherwise stated, the “Availability” section will indicate which versions of Flash Player support this element. The version mentioned here is different from the version of Flash used to create this content. For example, if you use Macromedia Flash MX 2004 or Macromedia Flash MX Professional 2004 to create content for Flash Player 6, you can only use action script elements that can be used for Flash Player 6.
In some cases, this section also points out which version of the authoring tool supports an element. For examples, see
()。
Finally, if an element is only supported in ActionScript 2.0, this information will also be pointed out in that section.
usage
This section provides the correct syntax to use this action script element in the code. The required part of the syntax is represented in code fonts, and the code provided by the user is represented in italic code fonts. Brackets ([]) represent optional parameters.
parameter
This section describes all the parameters listed in the syntax.
return
This section explains what value the element returns (if any).
illustrate
This section identifies the element type (such as operators, methods, functions, etc.) and then describes how to use the element.
Example
This section provides a code example that demonstrates how to use this element.
See also
This section lists the relevant action script dictionary entries.
Download address:/cgi-bin/?fileid=1401494