| |
| |
Preface | |
| |
| |
| |
Getting Up to Speed | |
| |
| |
What Is Flex? | |
| |
| |
What about AIR? | |
| |
| |
Where Flex Fits | |
| |
| |
Why Use Flex? | |
| |
| |
How Flex Compares to Other Technologies | |
| |
| |
When Not to Use Flex | |
| |
| |
Summary | |
| |
| |
| |
Setting Up Your Environment | |
| |
| |
Using Alternatives to Flex Builder | |
| |
| |
Introducing Flex Builder and Eclipse | |
| |
| |
Running Your First Application | |
| |
| |
Summary | |
| |
| |
| |
Using Design Mode | |
| |
| |
A Blank Slate: Your Canvas | |
| |
| |
Adding Components to the Application | |
| |
| |
Moving Components Around | |
| |
| |
Exploring Common Components | |
| |
| |
Modifying Properties Directly | |
| |
| |
Summary | |
| |
| |
| |
Using Source Mode | |
| |
| |
What Design Mode Does | |
| |
| |
Anatomy of a Flex Application | |
| |
| |
Components Added in Source Mode | |
| |
| |
Code Completion | |
| |
| |
MXML in Depth | |
| |
| |
Summary | |
| |
| |
| |
Learning the Basics of Scripting | |
| |
| |
Getting Ready | |
| |
| |
Inline ActionScript | |
| |
| |
Dot Notation | |
| |
| |
Assignment | |
| |
| |
Functions | |
| |
| |
Variables | |
| |
| |
Data Types | |
| |
| |
Objects | |
| |
| |
Classes | |
| |
| |
MXML and ActionScript Work Together | |
| |
| |
ActionScript's Relationship with MXML | |
| |
| |
Comments? | |
| |
| |
Summary | |
| |
| |
| |
Adding Interactivity with ActionScript | |
| |
| |
Understanding Events | |
| |
| |
Handling Events Inline | |
| |
| |
Using Event Constants | |
| |
| |
Making Things Happen | |
| |
| |
Debugging for Kicks | |
| |
| |
Summary | |
| |
| |
| |
Using Data Binding | |
| |
| |
What Is Data Binding? | |
| |
| |
How to Use It | |
| |
| |
Implementing Two-Way Bindings | |
| |
| |
Storing Complex Data | |
| |
| |
Creating Bindable Variables in ActionScript | |
| |
| |
Determining When Data Binding Isn't Appropriate | |
| |
| |
Putting Data Binding to Work for You | |
| |
| |
Summary | |
| |
| |
| |
Laying Out Your Applications | |
| |
| |
Types of Layouts | |
| |
| |
The Display List | |
| |
| |
Sizing | |
| |
| |
Layout Container Options | |
| |
| |
Advanced Containers | |
| |
| |
Layout Controls | |
| |
| |
Alignment | |
| |
| |
Constraints-Based Layout | |
| |
| |
Summary | |
| |
| |
| |
Creating Rich Forms | |
| |
| |
Preparing the Application | |
| |
| |
Validating Data | |
| |
| |
Restricting Input | |
| |
| |
Formatting Data for Display | |
| |
| |
Summary | |
| |
| |
| |
Gathering and Displaying Data | |
| |
| |
Using List Controls | |
| |
| |
Using XML Data | |
| |
| |
Implementing List Selection | |
| |
| |
Connecting to Search Results | |
| |
| |
Dragging and Dropping in Lists | |
| |
| |
Using Inline Item Renderers | |
| |
| |
Exploring Other Types of Service Components | |
| |
| |
Summary | |
| |
| |
| |
Controlling Flow and Visibility | |
| |
| |
Controlling Visibility | |
| |
| |
Navigation Components | |
| |
| |
Creating a Photo Gallery Application | |
| |
| |
Summary | |
| |
| |
| |
Working with View States | |
| |
| |
Scenarios for States | |
| |
| |
Creating New States | |
| |
| |
Modifying State Properties, Styles, and Events | |
| |
| |
Adding Components | |
| |
| |
Putting States to the Test | |
| |
| |
Summary | |
| |
| |
| |
Applying Behaviors, Transitions, and Filters | |
| |
| |
Behaviors | |
| |
| |
Common Effects and Their Properties | |
| |
| |
Sound Effects | |
| |
| |
States Made More Interesting | |
| |
| |
Filters | |
| |
| |
Summary | |
| |
| |
| |
Styling Applications | |
| |
| |
Using Inline Styles | |
| |
| |
Using Style Sheets | |
| |
| |
Embedding Assets | |
| |
| |
Skinning | |
| |
| |
Using Themes | |
| |
| |
Summary | |
| |
| |
| |
Deploying Your Application | |
| |
| |
Deploying to the Web | |
| |
| |
Deploying to the Desktop | |
| |
| |
Summary | |
| |
| |
Index | |