Effortless Flex 4 development Description based on print version record. - Includes index 9780321705945, 0321705947, 9780131389465, 0131389467

First the Web was all static content (HTML). Then as more was expected of sites, server-side technologies like PHP becam

502 48 24MB

English Pages 437 [457] Year 2010

Report DMCA / Copyright

DOWNLOAD FILE

Effortless Flex 4 development Description based on print version record. - Includes index
 9780321705945, 0321705947, 9780131389465, 0131389467

Table of contents :
Cover......Page 1
Contents......Page 6
What Is Flash?......Page 14
The Case for Rias......Page 15
The Case for Flash......Page 16
What Is Flex?......Page 17
About This Book......Page 18
Part One: The Fundamentals......Page 20
A Survey of the Land......Page 21
Basic Mxml......Page 24
Using Flash Builder......Page 27
The Open Source Alternative......Page 34
Creating Desktop Applications......Page 43
Getting Help......Page 51
Chapter Two: User Interface Basics......Page 55
Things to Know......Page 56
Cusstomizing the Application......Page 61
Simple Controls......Page 63
Controlling the Layout......Page 70
Creating Forms......Page 75
Putting It All Together......Page 79
Data Binding......Page 83
Oop Fundamentals......Page 85
Actinscript and Mxml......Page 88
Actionscript Comments......Page 93
Simple Data Types......Page 94
Creating Functions......Page 99
Looking Ahead: the Click Event......Page 101
Control Structures......Page 104
Arrays......Page 108
Loops......Page 112
Manipulating Components......Page 114
Debugging Techniques......Page 118
Chapter Four: Event Management......Page 121
Fundamental Concepts......Page 122
Inline Event Handling......Page 128
Functions As Event Handlers......Page 129
System Events......Page 137
User Events......Page 139
Managing Event Handlers With Actionscript......Page 143
Part Two: Data And Communications......Page 152
Representing Data......Page 153
Providing Data to Components......Page 163
Combobox and Dropdownlist Components......Page 165
The List Component......Page 171
The Datagrid Component......Page 179
Using Label Functions......Page 187
Item Renderers......Page 193
Changing the Editor......Page 200
The Datagroup Component......Page 201
Formatting Data......Page 203
Validating Data......Page 208
Chapter Seven: Common Data Formats......Page 221
The Client-Server Relationship......Page 222
Four Data Formats......Page 223
Data Formats in Php......Page 230
Data Types in Actionscript......Page 242
Debugging......Page 247
Chapter Eight: Using Simple Services......Page 249
Flash Security Model......Page 250
Setting Up a Local Environment......Page 252
Creating the Php Scripts......Page 255
Flex Networking Components......Page 262
The Httpservice Component......Page 263
Sending Data to a Server......Page 270
Flash Builder Data Wizards......Page 279
Using the Network Monitor......Page 297
Connecting to Web Services......Page 299
Setting Up the Local Environment......Page 311
Using Rpc......Page 315
Data Management in Flash Builder......Page 326
Data Paging......Page 338
Creating Value Objects......Page 341
Adding Authentication......Page 345
Part Three: Application Development......Page 350
Simple Custom Components......Page 351
A Wee Bit More Oop......Page 357
Using Actionscript in Components......Page 359
Custom Events......Page 363
Creating a Custom Editor......Page 366
Establishing Menus......Page 371
Adding Navigation......Page 377
Using View States......Page 385
Adding Deep Linking......Page 389
More on Tooltips......Page 397
Working With Alerts......Page 399
Creating Pop-Up Windows......Page 404
Communicating Between Windows......Page 411
Creating Graphics......Page 413
Styling Applications......Page 419
Skinning Applications......Page 426
Working With Fonts......Page 436
Using Themes......Page 438
A......Page 440
C......Page 442
D......Page 443
F......Page 445
H......Page 447
I......Page 448
M......Page 449
N......Page 450
P......Page 451
S......Page 452
V......Page 454
W......Page 455
Z......Page 456

Polecaj historie