4. Creating Your First Component

The previous chapters gave you a slew of information about what a component is actually constructed of; the methods that it provides for creating its content and child assets; and what the process is when you want to update elements of your component.

This is the first chapter where you’re actually “doing” something. From here on, you get knee deep in code and create your first components, building up to finally “wrapping” it all up and distributing it (which is Part III, “Distribution”). However, to avoid the “don’t run before you can walk” adage, you start off slowly by creating your first simple component. Then, we revise it.


If you’ve ever read any technical manual before, this is the point ...

Get Developing Flex 4 Components: Using ActionScript 3.0 and MXML to Extend Flex and AIR Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.