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.

MyFirstComponent

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.