Flash CS3 Documentation |
|||
| Learning ActionScript 2.0 in Adobe Flash > Classes > About working with custom classes in an application | |||
In Writing custom class files, you created a custom class file. In the following sections, you use that class file in an application. At the minimum, the workflow for creating classes involves the following steps:
The following sections in this chapter contain code examples that you can use to become familiar with creating classes in ActionScript 2.0. If you're not familiar with ActionScript 2.0, please read Data and Data Types and Syntax and Language Fundamentals.
For more information on working with custom classes, see the following topics:
For samples that demonstrates how to create a dynamic menu with XML data and a custom class file, see the Flash Samples page at www.adobe.com/go/learn_fl_samples. The sample calls the ActionScript XmlMenu() constructor and passes it two parameters: the path to the XML menu file and a reference to the current timeline. Download and decompress the Samples zip file and navigate to the ActionScript2.0/XML_Menu folder to access these samples:
Flash CS3