Writing ActionScript for components

Most components include some kind of ActionScript code. The type of component determines where you will write your ActionScript and how much ActionScript to write. There are two basic approaches to component development:

This section focuses on extending existing components. If you are creating a component that derives from another component's class file, you should write an external ActionScript class file as described in this section.