Building Components
Table of Contents
- Components Overview
- Using Components
- When to Use v2 Components
- Migrating from v1 to v2 Components
- Building v2 Components
Building components is a valuable and rewarding skill. Encapsulating solutions and sharing them with others allows communities of developers to problem-solve together. By learning and extending the v2 component framework, developers work more efficiently together and write less code.
There are many features in the v2 architecture to dive into. Code is structured in a more organized and standardized fashion. Styles and events are more standards-compliant than before. Certain patterns and idioms appear more frequently, such as invalidation-draw loops or getter/setter properties. Inheritance patterns in ActionScript 2.0 are much easier to digest. Special manager classes help with standard issues like accessibility, focus, and z-depths.
The following resources are a primer for working in the world of component code. Besides a higher level exploration of the architecture, we provide an in-depth tutorial that guides you through a first sample component.
Documentation
Tutorials and Samples
Sample: Building the FooterNav Component
Learn step-by-step how to build a simple component with v2 of the component architecture.
Exploring the Macromedia Flash MX 2004 Component Architecture
Learn what's new in v2 of the Flash MX 2004 component architecture so you can
build rich web application interfaces using industry-standard controls and
components.
Building and Testing Flash MX 2004 Components
The new-school method of MX 2004 component authoring helps you develop better
apps more quickly.