Adobe Flex 4.5 fundamentals

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Author(s): Michael Labriola; Jeff Tapper
Series: Training from the source
Publisher: Adobe Press
Year: 2012

Language: English
Pages: 499
Tags: Библиотека;Компьютерная литература;Flash / Action Script;

Contents......Page 7
Foreword......Page 11
Introduction......Page 13
Lesson 1 Understanding Rich Internet Applications......Page 26
The Evolution of Computer Applications......Page 27
The Break from Page-Based Architecture......Page 29
The Advantages of Rich Internet Applications......Page 30
RIA Technologies......Page 31
What You Have Learned......Page 38
Lesson 2 Getting Started......Page 40
Creating a Project and an MXML Application......Page 41
Understanding the Flash Builder Workbench......Page 47
Running Your Application......Page 51
Exploring the Flash Builder Debugger......Page 57
Getting Ready for the Next Lessons......Page 64
What You Have Learned......Page 66
Lesson 3 Laying Out the Interface......Page 68
Learning About Layouts......Page 69
Laying Out the E-Commerce Application......Page 73
Working with Constraint-Based Layouts......Page 81
Working with View States......Page 86
Refactoring......Page 94
What You Have Learned......Page 99
Lesson 4 Using Simple Controls......Page 102
Introducing Simple Controls......Page 103
Displaying Images......Page 104
Building a Detail View......Page 108
Using Data Binding to Link a Data Structure to a Simple Control......Page 111
Using a Form Layout Container to Lay Out Simple Controls......Page 112
What You Have Learned......Page 115
Lesson 5 Handling Events......Page 118
Understanding Event Handling......Page 119
Handling System Events......Page 130
What You Have Learned......Page 134
Lesson 6 Using Remote XML Data......Page 136
Using Embedded XML......Page 137
Using XML Loaded at Runtime......Page 142
Retrieving XML Data via HTTPService......Page 147
Searching XML with E4X......Page 150
Using Dynamic XML Data......Page 156
Using the XMLListCollection in a Flex Control......Page 160
What You Have Learned......Page 162
Lesson 7 Creating Classes......Page 164
Building a Custom ActionScript Class......Page 165
Building a Value Object......Page 166
Building a Method to Create an Object......Page 173
Building Shopping Cart Classes......Page 177
Manipulating Shopping Cart Data......Page 182
What You Have Learned......Page 190
Lesson 8 Using Data Binding and Collections......Page 192
Examining Data Binding......Page 193
Being the Compiler......Page 199
Understanding Bindable Implications......Page 206
Using ArrayCollections......Page 207
Refactoring ShoppingCartItem......Page 227
What You Have Learned......Page 228
Lesson 9 Breaking the Application into Components......Page 230
Introducing MXML Components......Page 231
Splitting Off the ShoppingView Component......Page 236
Breaking Out a ProductItem Component......Page 244
Creating Components to Manage Loading the Data......Page 253
What You Have Learned......Page 261
Lesson 10 Using DataGroups and Lists......Page 264
Using Lists......Page 265
Using DataGroups......Page 268
Virtualization with Lists......Page 278
Displaying Grocery Products Based on Category Selection......Page 280
What You Have Learned......Page 282
Lesson 11 Creating and Dispatching Events......Page 284
Understanding the Benefits of Loose Coupling......Page 285
Dispatching Events......Page 286
Declaring Events for a Component......Page 290
Identifying the Need for Custom Event Classes......Page 292
Building and Using the UserAcknowledgeEvent......Page 293
Understanding Event Flow and Event Bubbling......Page 297
Creating and Using the ProductEvent Class......Page 303
What You Have Learned......Page 312
Lesson 12 Using the Flex DataGrid......Page 314
Displaying the ShoppingCart with a DataGrid......Page 315
What You Have Learned......Page 332
Lesson 13 Using Drag and Drop......Page 334
Introducing the Drag and Drop Manager......Page 335
Enhanced Dragging and Dropping Between Two Lists......Page 336
Standard Dragging and Dropping Between a DataGrid and a List......Page 338
Using a Non-Drag-Enabled Component in a Drag-and-Drop Operation......Page 344
Dragging a Grocery Item to the Shopping Cart......Page 349
What You Have Learned......Page 354
Lesson 14 Implementing the Checkout Process......Page 356
Introducing Two-Way Bindings......Page 357
Creating the OrderInfo valueObject......Page 358
Creating CheckoutView......Page 360
Creating CreditCardInfo......Page 368
Creating Review......Page 373
Completing the Order......Page 378
What You Have Learned......Page 381
Lesson 15 Using Formatters and Validators......Page 384
Introducing Formatters and Validators......Page 385
Using Formatter Classes......Page 387
Examining a Second Locale......Page 391
Using Validator Classes......Page 392
What You Have Learned......Page 395
Lesson 16 Customizing a Flex Application with Styles......Page 398
Cleaning Up the Appearance......Page 399
Applying Styles......Page 400
Changing CSS at Runtime......Page 418
What You Have Learned......Page 420
Lesson 17 Customizing a Flex Application with Skins......Page 422
Understanding the Role of Skins in a Spark Component......Page 423
Understanding the Relationship between Skins and States......Page 427
Creating a Skin for the Application......Page 436
What You Have Learned......Page 440
Lesson 18 Creating Custom ActionScript Components......Page 442
Building Components Can Be Complex......Page 443
Understanding Flex Components......Page 444
Why Make Components?......Page 445
Defining a Component......Page 447
Creating the Visuals......Page 455
Adding Functionality to the Component......Page 462
Creating a Renderer for the Skin......Page 473
What You Have Learned......Page 475
Software Installation......Page 478
Importing Projects......Page 481
A......Page 485
C......Page 486
D......Page 488
F......Page 489
J......Page 491
N......Page 492
R......Page 493
S......Page 494
U......Page 495
Z......Page 496
Lesson Files and Media......Page 498