View comments | RSS feed

Creating ActionScript Components

Macromedia Flex lets you define custom components in ActionScript as part of your application. Using custom components, you can encapsulate your application logic as modules that you can reuse in a single application, or share across multiple applications.

You can also define custom ActionScript components to extend the Flex component library. For example, you can create a customized Button, Tree, or DataGrid component as an ActionScript component.

This chapter describes how to create custom components in ActionScript, and includes examples of creating components that extend the Flex component hierarchy.

Contents

About ActionScript components
Defining custom user-interface components
Passing data to a custom tag
Defining events in ActionScript components
Using the createChildren() and createClassObject() methods
Using metadata keywords
Adding ActionScript components to the Flex environment
Defining nonvisual components

Version 1.5

Comments


alubell said on Dec 18, 2004 at 5:43 AM :
You can also use Flash MX 2004 to make components, either by using on stage graphics, AS2 code, or a combination. They can then be accessed using Flex tags (in your own namespace) or by Script tags for programmatic access.

The Flex livedocs don't clearly indicate this, but you can find more information from this fairly comprehensive document:

http://download.macromedia.com/pub/documentation/en/flex/15/flex_comp
alubell said on Dec 18, 2004 at 5:45 AM :
Oops. Broken link that was cutoff:

http://download.macromedia.com/pub/documentation/en/flex/15/flex_components_themes.zip

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/15/flex_docs_en/00000513.htm