Learning Flex 3简介

通过第一章的阅读,您可以尽快了解 Adobe Flex 3。 本书包含了很多实用的实例,通过前几章的阅读了解如何利用 Flex 创建您自己的 Internet 应用程序。 继续阅读,您将学习如何建立布局、 如何添加交互性、 如何处理数据,和如何部署 Web 或桌面应用程序。
Learning Flex 3 提供清晰、精简的提示和分步说明,作者亚拉里克基将与大家分享已收集了多年的Flex使用技巧和教学(Yahoo开发人员 ) ! 您将了解Flex的工作方式,如何使用 MXML 语言和 ActionScript,如何部署丰富桌面应用 Adobe AIR...以及更多。
如果您是一位初学者或从另一个平台来的开发人员,以下列出了本书涉及内容的摘要,考虑Learning Flex 3 是否适合你:
* 设置 FlexBuilder 与 Eclipse 环境
* 创建一个新的 Flex 项目
* 在Flex中使用不同的设计视图
* 编写MXML代码
* Flex 应用程序布局
* 嵌入图像和图形
* 生成用户界面
* 添加交互 ActionScript
* 处理用户输入
* 移动,显示,搜集资料
* 添加自定义组件与 MXML
* 添加声音效果,筛选器和转换
* 样式与 CSS、 外观和主题的应用程序
* 将部署WEB应用程序,或桌面应用 Adobe AIR
此外包含的对象、 类、 组件、 属性、 方法、 类型和其他 Flex 属性的简要说明。您会发现Learning Flex 3 不是只最完整的Flex教程 。
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
|
|
!版权与免责申明:本书版权与著作权归该书著作者与出版社享有,本网站资源来源网络,仅提供下 载预览,完全属于无利益公益行为。如果您喜欢该书,请购买正版图书。
!Copyright & Disclaimer affirmed:The book is the copyright of copyright with the authors and book publishers enjoy this site source of network resources, available for download only preview, entirely without benefit of public interest. If you like this book, please buy genuine books.
本站下载资源、电子书资源均来自网络,仅提供分流供开发者预览交流学习,非共享资源请下载者24小时内删除并够买正版。
详细版权申明Download resources from the network, Just a preview!please delete within 24 hours, buy genuine.