User Guide

Statements 207
Example
The following example uses
else if statements to compare score_txt to a specified value:
if (score_txt.text>90) {
trace("A");
}
else if (score_txt.text>75) {
trace("B");
}
else if (score_txt.text>60) {
trace("C");
}
else {
trace("F");
}
See also
if statement
extends statement
class className extends otherClassName {}
interface interfaceName extends otherInterfaceName {}
Defines a class that is a subclass of another class; the latter is the superclass. The subclass
inherits all the methods, properties, functions, and so on that are defined in the superclass.
Interfaces can also be extended by using the
extends keyword. An interface that extends
another interface includes all of the method declarations of the original interface.
Availability: ActionScript 2.0; Flash Player 6
Parameters
className:String - The name of the class that you are defining.