O'Reilly logo

Adobe Flex 4.5 Fundamentals: Training from the Source by Jeff Tapper, Michael Labriola

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lesson 7: Creating Classes

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

Approximate Time

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required