Flash CS3 Documentation |
|||
| Using ActionScript 2.0 Components > Creating Components > Creating the ActionScript class file > Defining the class and its superclass | |||
A component class file is defined like any class file. Use the class keyword to indicate the class name. The class name must also be the name of the class file. Use the extends keyword to indicate the superclass. For more information, see Writing custom class files in Learning ActionScript 2.0 in Adobe Flash.
class MyComponentName extends UIComponent{
}
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00002492.html