Learning Flex 3: Getting up to Speed with Rich Internet Applications
简介 Book Description
How
soon can you learn Adobe Flex 3? With this book's unique hands-on
approach, you will be able to tinker with examples right away, and
create your own Rich Internet Applications with Flex within the first
few chapters. As you progress, you learn how to build a layout, add
interactivity, work with data, and deploy your applications to either
the Web or the desktop.
Learning Flex 3 offers step-by-step
instructions that are clear and concise, along with tips and tricks
that author Alaric Cole has gathered after years of using Flex and
teaching it to fellow developers at Yahoo! You'll understand how Flex
works, how to use the MXML markup language and work with ActionScript,
how to deploy RIAs to the desktop using Adobe AIR, and much more.
Whether
you're a beginner, or an experienced web developer coming to Flex from
another platform, Learning Flex 3 is the ideal way to learn how to:
* Set up your environment with FlexBuilder and Eclipse
* Create a new Flex project
* Use the different design views in Flex
* Write code with MXML
* Lay out your Flex application
* Embed images and graphics
* Build a user interface
* Add interactivity with ActionScript
* Handle user input
* Move, display, and collect data
* Add custom components with MXML
* Add sound effects, filters, and transitions
* Style your applications with CSS, skins, and themes
* Deploy applications to the Web, or to the desktop using Adobe AIR
Also
included are brief explanations of objects, classes, components,
properties, methods, types, and other Flex attributes. You will find
that Learning Flex 3 is not only the most complete tutorial for Flex,
it's also the quickest way to get going with the latest version of this
powerful framework.
目录 Table of Contents
Chapter 1
Getting Up to Speed 1
What Is Flex? 1
What about AIR? 4
Where Flex Fits 5
Why Use Flex? 6
How Flex Compares to Other Technologies 8
When Not to Use Flex 11
Summary 12
Chapter 2
Setting Up Your Environment 13
Using Alternatives to Flex Builder 13
Introducing Flex Builder and Eclipse 14
Running Your First Application 16
Summary 21
Chapter 3
Using Design Mode 23
A Blank Slate: Your Canvas 23
Adding Components to the Application 24
Moving Components Around 24
Exploring Common Components 25
Modifying Properties Directly 28
Summary 36
Chapter 4
Using Source Mode37
What Design Mode Does 37
Anatomy of a Flex Application 38
Components Added in Source Mode 39
Code Completion 40
MXML in Depth 40
Summary 46
Chapter 5
Learning the Basics of Scripting 47
Getting Ready 47
Inline ActionScript 48
Dot Notation 48
Assignment 49
Functions 50
Variables 53
Data Types53
Objects 55
Classes 56
MXML and ActionScript Work Together 57
ActionScript’s Relationship with MXML 58
Comments? 61
Summary 61
Chapter 6
Adding Interactivity with ActionScript 63
Understanding Events63
Handling Events Inline64
Using Event Constants67
Making Things Happen 67
Debugging for Kicks 71
Summary 76
Chapter 7
Using Data Binding77
What Is Data Binding? 77
How to Use It 78
Implementing Two-Way Bindings83
Storing Complex Data83
Creating Bindable Variables in ActionScript 85
Determining When Data Binding Isn’t Appropriate 86
Putting Data Binding to Work for You 87
Summary 91
Chapter 8
Laying Out Your Applications93
Types of Layouts93
The Display List 95
Sizing 99
Layout Container Options101
Advanced Containers 103
Layout Controls 106
Alignment 108
Constraints-Based Layout 109
Summary115
Chapter 9
Creating Rich Forms 117
Preparing the Application 117
Validating Data120
Restricting Input 131
Formatting Data for Display 132
Summary136
Chapter 10
Gathering and Displaying Data 137
Using List Controls 137
Using XML Data 142
Implementing List Selection 149
Connecting to Search Results 150
Dragging and Dropping in Lists153
Using Inline Item Renderers 154
Exploring Other Types of Service Components 156
Summary158
Chapter 11
Controlling Flow and Visibility 159
Controlling Visibility 159
Navigation Components 160
Creating a Photo Gallery Application 164
Summary174
Chapter 12
Working with View States 175
Scenarios for States 175
Creating New States176
Modifying State Properties, Styles, and Events 177
Adding Components 179
Putting States to the Test 183
Summary196
Chapter 13
Applying Behaviors, Transitions, and Filters 197
Behaviors197
Common Effects and Their Properties204
Sound Effects 209
States Made More Interesting 211
Filters 215
Summary218
Styling Applications 219
Using Inline Styles 219
Using Style Sheets 223
Embedding Assets 230
Skinning 233
Using Themes 235
Summary238
Chapter 15
Deploying Your Application 239
Deploying to the Web 239
Deploying to the Desktop251
Summary264
作者 About the Author
Alaric
Cole has been working with Flash technologies since the introduction of
ActionScript. Once it came on the scene, he's been focused primarily on
Flex development, creating enterprise applications with rich data
visualization, interactive media, and advanced user interface
components. Pushing Flex beyond its comfort zone, he has worked with
Adobe to discover ways to improve the technology.
A leader in
the industry, Alaric has spoken at conferences such as Adobe MAX and
360|Flex, and has contributed a number of open-source components to the
Flex community. He uses Flex in his daily work at Yahoo!, leading
development and consulting on projects across the company
下载 Download
http:
from easy-share
from depositfiles
from rapidshare ( Password default: netbks.com )