First, let me be very clear: Flex 2.0 does NOT support templates. But this article will show you a way to make it look and act as if it does.
A “template” is different from a custom component. A template typically specifies a number of parts with some of the areas left open for substitution. I think of templates as being done exclusively in MXML whereas components can be 100% ActionScript or a combination of AS and MXML. Dreamweaver has the ability to do templates using regions.
Note: An example is available for download at the end of the article.
