Flash CS3 Documentation |
|||
| Using ActionScript 2.0 Components > Creating Components > Building your first component | |||
In this section, you will build a Dial component. For samples of the Dial component, see the Flash Samples page at www.adobe.com/go/learn_fl_samples. The following samples are available:
The Dial component is a potentiometer, like those used to measure potential difference in voltage. A user can click on the needle and drag it to change its position. The API for the Dial component has one property, value, that you can use to get and set the position of the needle.
This section takes you through the steps of creating a component. These procedures are discussed in more detail in subsequent sections (including Selecting a parent class, Creating a component movie clip, Creating the ActionScript class file, and Exporting and distributing a component).This section contains the following topics:
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/00002484.html