Lesson 5. Handling Events and Data Structures

What You Will Learn

In this lesson, you will:

  • Create an <mx:Model> tag that creates a simple client-side data model

  • Create a complex client-side data model using an ActionScript class

  • Use Flex framework system events

  • Implement Flex framework user events

  • Examine the event object that is created each time an event is dispatched

Approximate Time

This lesson takes approximately 1 hour and 15 minutes to complete.

Lesson Files

Media Files:


Starting Files:




Completed Files:







An important part of building a rich Internet application (RIA) is building effective client-side architecture. When you use Flash Player to build an application, you have the ability to use an event-based programming model, build rich client-side data models, and create a logical application following good object-oriented best practices. This type of development is very different for web application developers as it does not use a page-based development model. Ultimately, using this client-side, event-based architecture will result in better-performing applications that consume less network traffic because page refreshes are no longer needed. During this lesson, you will receive an introduction to the powerful object-oriented language and event-based programming model of ActionScript 3.0.

The finished FlexGrocer data structure built in ActionScript 3.0 and integrated into the application.

Adobe Flex 2.Training from the Source
Adobe Flex 2: Training from the Source
ISBN: 032142316X
EAN: 2147483647
Year: 2006
Pages: 225

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net