We already know the terms of ActionScript, such as class, objects, attributes, methods, events, scripts, and more. The terminology commonly used in some ActionScript will be introduced in this section so that I will not feel unfamiliar. Identifier - is a string that conforms to a specific rule requirement. Specifically, the first character of this string must be letters, underscore (_) or dollar symbols ($), and the following characters must be letters, numbers, underscore or dollar symbols. The names of all those who need to be named in the program should be an identifier. Example - means an object. The instance of the class is the object. Many people are always unclear, objects, and examples of the relationship. Remember, the object is generated from the class it belongs. For example, when we create a student object, we said that it is instantified from the Student class. Function - is a reusable code segment. A function completes a specific task. You can deliver parameters to the function, or return the value from the function. Parameters - is a placeholder for the value transfer value. In the following area function, X and Y are two parameters of the function.
Function Area (X, Y) {
Return x * y;
}
When you call the Area function like this, pass the two values to this function through its parameter, which is calculated in a function and returns its operation results to the call location.
RectangleArea = Area (2, 3);
There are still many terms in ActionScript.