Lesson 18: Creating Custom ActionScript Components

What You Will Learn

In this lesson, you will:

• Refactor code into an ActionScript component

• Create your own skin

• Manage skin parts and component life cycles

• Learn to use the Scroller

Approximate Time

This lesson takes approximately 2 hours to complete.

In Lesson 9, “Breaking the Application into Components,” you learned how to build custom components using MXML. There are times when you’ll need even more flexibility than MXML can offer. For these occasions, you can create components directly in ActionScript 3.0.

In this lesson, you’ll create a new component called ShoppingList, which will be an extensive refactoring of the existing List instance that shows your shopping cart items. ...

Get Adobe Flex 4.5 Fundamentals: Training from the Source 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.