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
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. ...