What You Will Learn
In this lesson, you will:
• Create an ActionScript class to use as a value object
• Create ActionScript classes for a shopping cart
• Add functionality to the ShoppingCart and ShoppingCartItem classes
This lesson takes approximately 1 hour and 30 minutes to complete.
Objects are the core of any object-oriented language. So far you have used classes provided for you by Adobe; however, to accomplish anything of even marginal complexity in Flex, you need to be comfortable creating your own. Objects are the realization of classes. Another way to state this is that a class is a blueprint for an object that will be created. In this lesson, you will first create several classes and ...