Accessibility
Jeanette Stallons

Jeanette Stallons

stallons.com

Table of Contents

Created:
2 November 2009
User Level:
Beginner
Products:
Flex

Building a desktop application with Flash Builder for Force.com – Part 5: Provide user feedback with Stratus components

In the previous parts of this tutorial series, you retrieved data from the database and saved changes to the local database and the Force.com cloud, but provided little feedback to the user about the events that occurred—were they successful or not?

The Stratus framework provides two visual components to easily provide feedback to users: a status bar and a toast. The status bar is used to display messages to the user within the application. A toast is a small notification window that appears in the lower right corner of the screen and provides information to the user.

In this tutorial, you will:

  • View automatically generated messages in the status bar.
  • Create and display custom status and error messages in the status bar.
  • Create a toast notification.
  • Execute code when a toast message is clicked.

Requirements

To complete this tutorial, you need the following:

A Force.com account with the custom Merchandise object created in Part 1 of this tutorial series:

Adobe Flash Builder for Force.com

Tutorial files

Prerequisite knowledge

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License

About the author

Jeanette Stallons is an independent Flex trainer and consultant who has taught for many companies including Adobe, Oracle, Boeing, Wachovia, Morgan Stanley, and Charles Schwab. Prior to working for herself, Jeanette worked at Allaire, Macromedia, and then Adobe in the training department, architecting, writing, teaching, and building applications for Flash, Flex, and other products. Her latest project is the Adobe Flex Learning Paths Flex application for which she was and continues to remain the idea behind, the programmer, and the content expert.