What is a class in ActionScript?
What is a class in ActionScript?
Classes are external ActionScript files that define objects; they are stored and organized in a specific directory structure in the Flash CS3 program directory (Figure 4.1). To use them in your code, you have to import them. For example, the MovieClip class is located in the flash.
What are the data types supported by ActionScript?
The ActionScript core classes also define the following complex data types: Object, Array, Date, Error, Function, RegExp, XML, and XMLList.
- Boolean data type.
- int data type.
- Null data type.
- Number data type.
- String data type.
- uint data type.
- void data type.
- Object data type.
How are classes listed in Adobe ActionScript 3?
The classes are listed alphabetically. If you are not sure to which class a certain method or property belongs, you can look it up in the Index. The AAAARecord class represents a Domain Name System (DNS) AAAA resource record containing an IPv6 address. The AbandonCommand class executes the abandon operation for a task.
How is the interface defined in ActionScript 3?
Synthesized, the Interface is a class with a list of required methods that must be created in the classes where it is implemented. All the methods specified in the “Interface” must be defined in the classes where it’s applied, having the same name, data type and parameters as indicated in the “Interface”.
Is there an array in ActionScript 3.0?
ActionScript 3.0 does not support method or constructor overloading. numElements: int (default = 0) — An integer that specifies the number of elements in the array. RangeError — The argument is a number that is not an integer greater than or equal to 0.
What does static mean in Adobe ActionScript 3?
[static] Specifies descending sorting for the Array class sorting methods. [static] Specifies numeric (instead of character-string) sorting for the Array class sorting methods. [static] Specifies that a sort returns an array that consists of array indices.