Incorporating existing components within your component

In this section, you will build a simple LogIn component that incorporates Label, TextInput and Button components. This tutorial demonstrates how existing components are incorporated in new components by adding their uncompiled Flash (FLA) library symbols. For samples of the completed component files, see the Flash Samples page at www.adobe.com/go/learn_fl_samples. The following samples are available:

The LogIn component provides an interface for entering a name and password. The API for LogIn has two properties, name and password for setting and getting the string values in the name and password TextInput fields. The LogIn component also dispatches a "click" event when the user clicks a button labeled LogIn.


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/00002517.html