Object-oriented programming with ActionScript 1 overview

The information in this appendix was excerpted from the Macromedia Flash MX documentation and provides information on using the ActionScript 1 object model to write scripts. It is included here for the following reasons:

If you have never used ActionScript to write object-oriented scripts and don't need to target Flash Player 5, you should not use the information in this appendix, because writing object-oriented scripts using ActionScript 1 is deprecated; instead, see Creating Classes with ActionScript 2.0 for information on using ActionScript 2.0.

Note: Some of the examples in this appendix use the Object.RegisterClass() method. This method is supported only in Flash Player 6 and later; don't use this method if you are targeting Flash Player 5.