Skip to Content
Adobe Flex 4.5 Fundamentals: Training from the Source
book

Adobe Flex 4.5 Fundamentals: Training from the Source

by Michael Labriola, Jeff Tapper
July 2011
Beginner content levelBeginner
496 pages
11h 42m
English
Adobe Press
Content preview from Adobe Flex 4.5 Fundamentals: Training from the Source

Lesson 11: Creating and Dispatching Events

What You Will Learn

In this lesson, you will:

• Understand the benefits of loosely coupled architecture

• Dispatch events

• Declare events for a component

• Identify the need for your own event classes

• Create event subclasses

• Create and use a UserAcknowledgeEvent class

• Create and use a ProductEvent class

• Use event bubbling

• Use ProductEvent to add and remove a product

• Use the CollectionEvent to update the shopping cart total

Approximate Time

This lesson takes approximately 2 hours to complete.

In previous lessons, you worked with events from built-in objects, such as the clicking of a Button or the changing of a List. You may remember that different events all descend from the same Event ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Effortless Flex 4 Development

Effortless Flex 4 Development

Larry Ullman
Analyzing the Social Web

Analyzing the Social Web

Jennifer Golbeck

Publisher Resources

ISBN: 9780132788892Purchase book