Charles E Brown1590599500, 978-1590599501
Table of contents :
The Essential Guide to Flex 3……Page 1
CONTENTS AT A GLANCE……Page 5
CONTENTS……Page 7
ABOUT THE AUTHOR……Page 13
ABOUT THE TECHNICAL REVIEWER……Page 15
ACKNOWLEDGMENTS……Page 17
INTRODUCTION……Page 19
Layout conventions……Page 20
FLEX BASICS……Page 23
HTML and dynamics……Page 24
1……Page 25
Flex and RIA……Page 28
1……Page 29
Eclipse and Flex Builder 3……Page 30
Installing Flex Builder 3……Page 31
Installing Flex Builder as an Eclipse plug-in……Page 32
1……Page 33
Installing Flex Builder 3……Page 34
1……Page 35
Summary……Page 42
1……Page 43
FLEX AND FLEX BUILDER 3……Page 45
Starting out in Flex Builder 3……Page 46
2……Page 47
Creating a Flex project……Page 49
2……Page 51
Creating a Flex application……Page 55
2……Page 57
Changing the properties……Page 58
2……Page 59
MXML……Page 61
2……Page 63
Getting help……Page 65
2……Page 67
2……Page 69
Deploying the files……Page 70
Looking at generated ActionScript code……Page 71
2……Page 73
Summary……Page 74
ACTIONSCRIPT……Page 77
Understanding what a class file is……Page 78
3……Page 79
Compatibility with previous versions……Page 80
Starting to use ActionScript 3.0 3……Page 81
MXML and ActionScript……Page 83
3……Page 85
Mixing MXML and ActionScript code……Page 86
3……Page 87
Comments……Page 91
Using the trace() function……Page 92
3……Page 93
Functions……Page 95
3……Page 97
Passing parameters……Page 98
3……Page 99
Handling events……Page 101
3……Page 103
Using the [Bindable] tag 3……Page 105
Adding interactivity……Page 106
3……Page 107
Refactoring……Page 108
3……Page 109
3……Page 115
Summary……Page 117
CONTAINERS……Page 119
Application container……Page 120
4……Page 121
Layout containers……Page 124
4……Page 125
Form container……Page 130
4……Page 131
Panel container……Page 136
4……Page 137
ControlBar container……Page 139
Navigation containers……Page 141
ViewStack container……Page 142
4……Page 143
Using ActionScript with navigation……Page 151
TabNavigator and Accordion containers……Page 153
4……Page 155
State……Page 156
4……Page 157
Changing the state……Page 159
4……Page 161
States and code 4……Page 165
Importing assets into a project……Page 167
4……Page 169
Transitions……Page 177
Building the container……Page 178
Building the state……Page 179
4……Page 181
4……Page 183
Summary……Page 186
4……Page 187
EVENTS AND COMPONENTS……Page 189
Events……Page 190
5……Page 191
The event object 5……Page 193
5……Page 195
addEventListener……Page 196
5……Page 197
Components……Page 199
5……Page 201
Adding a component……Page 204
5……Page 205
5……Page 207
Custom events……Page 211
Declaring a custom event……Page 212
5……Page 213
Creating the event……Page 214
5……Page 215
Passing data……Page 218
5……Page 219
Summary……Page 221
FLEX AND XML……Page 223
Data sources……Page 224
XML: A very brief introduction……Page 225
6……Page 227
Using the HTTPService tag……Page 229
Displaying data……Page 231
XML and ActionScript 3.0……Page 233
The ArrayCollection class……Page 234
6……Page 235
When good code goes bad……Page 236
6……Page 237
Flash Player security……Page 240
6……Page 241
Introducing E4X……Page 242
6……Page 243
6……Page 247
The DataGrid control……Page 248
Modifying DataGrid columns……Page 249
The DateFormatter class……Page 251
6……Page 253
Editing and rendering data……Page 254
6……Page 255
Images in the DataGrid container……Page 263
6……Page 265
6……Page 269
The AdvancedDataGrid component……Page 280
6……Page 281
Summary……Page 284
FORMATTING AND CASCADING STYLE SHEETS……Page 287
Flex and CSS……Page 288
7……Page 289
Working with CSS in Flex……Page 290
7……Page 291
Flex 3 and CSS……Page 298
7……Page 299
Validating and Formatting……Page 307
NumberValidator……Page 308
7……Page 309
ActionScript and validation……Page 311
7……Page 313
The StringValidator……Page 318
7……Page 319
Summary……Page 320
THE REPEATER COMPONENT……Page 323
Understanding the Repeater component……Page 324
8……Page 325
Passing data in a Repeater component 8……Page 327
8……Page 329
Using XML data……Page 331
8……Page 333
Summary……Page 340
DRAG AND DROP……Page 343
Understanding drag-and-drop concepts……Page 344
Dragging to a DataGrid component……Page 345
9……Page 347
Dragging to a List control……Page 350
9……Page 351
Adding drag-and-drop capability programmatically……Page 354
9……Page 355
Summary……Page 360
CASE STUDY: PART 1……Page 363
The case study: a book publisher’s website……Page 364
10……Page 365
Doing the initial layout……Page 367
10……Page 369
Starting to build the structure……Page 372
10……Page 373
10……Page 393
Using CSS in the project……Page 406
10……Page 407
CASE STUDY: PART 2……Page 409
Connecting the data source……Page 410
11……Page 411
Testing your code……Page 416
11……Page 417
11……Page 421
The CoverDetails component……Page 424
11……Page 425
Changing states……Page 430
11……Page 431
11……Page 439
Summary……Page 458
FLEX AND DATA……Page 461
The ColdFusion Server……Page 462
12……Page 463
Connecting Flex to ColdFusion 8……Page 467
12……Page 469
12……Page 471
Variation on a theme……Page 490
12……Page 491
12……Page 493
Connecting Flex to LCDS……Page 500
12……Page 501
Building the application……Page 503
12……Page 505
12……Page 509
PRINTING……Page 511
The printing process……Page 512
13……Page 513
13……Page 515
13……Page 521
Summary……Page 524
CHARTING……Page 527
Using the PieChart component……Page 528
14……Page 529
Using the ColumnChart component……Page 536
14……Page 537
14……Page 541
Using the BarChart component……Page 544
14……Page 545
ADOBE INTEGRATED RUNTIME (AIR)……Page 547
Understanding AIR……Page 548
15……Page 549
Hello World……Page 550
15……Page 551
The Application Descriptor……Page 558
15……Page 559
Deploying an AIR application……Page 560
15……Page 561
15……Page 563
15……Page 567
Conclusion……Page 570
INSTALLING COLDFUSION 8……Page 573
Unknown……Page 0
A……Page 575
INDEX……Page 591
Reviews
There are no reviews yet.