Cover image for Flex 3 : a beginner's guide
Title:
Flex 3 : a beginner's guide
Personal Author:
Publication Information:
New York : McGraw-Hill, 2008
Physical Description:
xiv, 274 p. : ill. ; 24 cm.
ISBN:
9780071544184

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010252466 QA76.625 D38 2008 Open Access Book Book
Searching...

On Order

Summary

Summary

Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, authenticity, or access to any online entitlements included with the product.


Essential Skills--Made Easy!

Learn to program with Flex 3, the powerful tool for building multimedia-rich, interactive Flash applications for the Web. Flex 3: A Beginner's Guide is an easy-to-follow, fast-paced tutorial that allows you to fully grasp the fundamentals, including MXML, Action Script, Flex Builder, states, transitions, and behaviors. You'll learn how to customize your applications with styles, skins, and themes; access remote data using the XML HTTP Service Request; profile and debug your applications; and manage media assets.

Designed for Easy Learning

Key Skills & Concepts--Chapter-opening lists of specific skills covered in the chapter Ask the Experts--Q&A sections filled with bonus information and helpful tips Try This--Short, hands-on exercises to practice your skills Notes--Bonus information related to the topic being covered Tips--Helpful reminders or alternate ways of doing things Cautions--Errors and pitfalls to avoid Annotated Syntax--Example code with commentary that describes the programming techniques being illustrated


Author Notes

Michele E. Davis is a technology writer and author or coauthor of more than 17 computer books. She consults as an instructional designer, trainer, and technical writer for Fortune 500 companies including General Mills, ACS, Whirlpool, Best Buy and many others
Jon A. Phillips designs custom Web solutions and consults as a functional software developer for clients such as the University of Minnesota, Fisher-Rosemount, Lockheed-Martin, and Kinetic Data


Table of Contents

Acknowledgmentsp. xi
Introductionp. xiii
1 Flex Fundamentalsp. 1
The Origins of Flexp. 3
ActionScriptp. 4
MXMLp. 4
Understanding Flexp. 5
LiveCycle Data Servicesp. 5
Using LiveCycle Data Services with the Flex Builderp. 8
Flex's Fortep. 10
Audiop. 10
Videop. 11
Object Manipulationp. 11
Consistent APIp. 11
Open Sourcep. 11
Flex Limitationsp. 12
Flex vs. HTML/Ajaxp. 13
Dynamic HTMLp. 13
DOMsp. 13
Ajaxp. 13
Cross-Platform Support with Single Binaryp. 14
Flex Versionsp. 14
Initial Releasesp. 15
Adobe Flex 2.01p. 15
Adobe Flex 3p. 16
How Flex Worksp. 16
Design and Configurep. 17
Buildp. 17
Deployp. 18
Securing Your Applicationp. 19
2 Installation and Modulesp. 21
Installing Flexp. 22
Flex Distributionsp. 22
Flex Builder Distributionp. 23
Flex SDKp. 23
Apache/IIS Runtime Modulep. 24
Installing Flex Builderp. 25
Macintosh OS Xp. 28
Flex Builder Projectsp. 30
Workspacesp. 30
Managing Projects in a Workspacep. 30
Creating a Test Projectp. 31
General Requirements for the SDKp. 37
Downloading the SDK Installationp. 38
Removing the Flash Plug-inp. 38
Installing the Flex SDKp. 39
Running Samplesp. 41
Apache/IIS Flex Modulep. 42
Requirementsp. 43
Installer Downloadp. 43
Testing the Compiler Modulep. 46
3 Getting Startedp. 47
Principles of MXMLp. 49
XMLp. 50
Principles of ActionScriptp. 50
ActionScript Timelinep. 51
Proper Syntaxp. 52
Variablesp. 54
Declaringp. 54
Namingp. 54
Typesp. 55
Modifying Variable Typesp. 56
Expressionsp. 57
Functions and Methodsp. 57
Definingp. 58
Testing Outputp. 58
Named Functionsp. 59
Flow Control and Loopingp. 61
If Statementp. 61
Switch Statementp. 62
Loopingp. 63
Event Handlersp. 65
Create an Event Handler That Displays an Alertp. 65
MXML Conversionp. 67
OOPp. 67
Encapsulationp. 67
Classesp. 67
Methodsp. 70
Definingp. 70
Instantiationp. 72
Static Methodsp. 74
Inheritancep. 75
Class Specificationsp. 75
Understanding MXML Namespacesp. 76
The Flex Config Filep. 76
The Manifest Filep. 76
Referencing Namespaces in Your Codep. 77
4 Working with Flex Builderp. 79
Flex Builder Modesp. 81
Developmentp. 82
Debuggingp. 84
Building a User Interfacep. 86
Containersp. 86
The Application Containerp. 87
Constraint-Based Layoutp. 87
Controlsp. 90
Arraysp. 92
Text-Based Controlsp. 93
Data Provider Controlsp. 94
Menu Controlsp. 94
Modifying Controlsp. 96
Class Hierarchy of Controlsp. 97
Sizing Controlsp. 97
Positioning Controlsp. 99
Changing the Appearance of Controlsp. 99
Text Controlsp. 100
Text Propertyp. 100
The htmlText Propertyp. 101
Select and Modify Textp. 101
TextAreap. 102
TextInputp. 102
RichTextEditorp. 104
Label Controlp. 104
Menu Controlp. 105
Menu Attributesp. 106
Data Provider Typesp. 106
Menu Control Creationp. 107
MenuBar Controlp. 109
Create a MenuBar Controlp. 109
Running Your Applicationsp. 112
5 States, Transitions, and Behaviorsp. 115
States and Transitionsp. 117
Creating Statesp. 118
Apply Statesp. 118
Propertiesp. 123
Stylesp. 123
Event Handlersp. 123
Effects and Transitionsp. 124
Creating a Transitionp. 125
Triggersp. 128
Creating Behaviorsp. 129
Invoke Using Flex Eventsp. 131
Fading in a RichTextEditor with a Button Clickp. 131
Composite Effectsp. 133
Binding Variablesp. 134
Declaringp. 134
Referencingp. 135
6 Modifying Your Application's Appearancep. 139
Categories of Customizationp. 141
Styles and Skinsp. 141
Enhanced Constraintsp. 142
CSS Property Inspectorp. 144
Themesp. 145
Setting Stylesp. 149
Skinsp. 154
Graphical Skinningp. 154
7 Data Accessp. 159
Local Versus Remote Datap. 161
Security Implicationsp. 161
Cross-Domain Filep. 162
XML HTTP Service Requestsp. 164
Creating an Application to Display Amazon Vampire Booksp. 166
Proxyp. 166
Getting the Datap. 170
8 Debugging and Profilingp. 179
Profilingp. 181
Saving and Loading Profiling Datap. 187
Live Objects Panelp. 188
Memory Snapshot Panelp. 190
Loitering Objects Panelp. 191
Object References Panelp. 193
Allocation Trace Panelp. 194
Performance Snapshot Panelp. 196
Launch Dialogp. 198
Debugging with fdbp. 200
Launchingp. 201
Commandsp. 203
Debugging with Tracep. 206
9 Working with Media Assets/Deployingp. 209
Managing Media Assetsp. 211
Embedding vs. Runtime Referencingp. 211
Supported Media Typesp. 212
Soundp. 213
Playing Embedded Soundsp. 213
Playing Referenced Soundsp. 216
Including a Referenced Imagep. 217
Including an Embedded Imagep. 218
Embedding Moviesp. 219
Deployingp. 220
Wrappersp. 220
Publishing Your Applicationp. 223
A ActionScript and MXML Referencep. 229
ActionScript 3.0p. 230
Global Functionsp. 230
Global Constantsp. 232
Global ActionScript Classesp. 232
Language Referencep. 234
MXML-Only Componentsp. 243
Keyboard Shortcuts in Flex Builderp. 244
Online Resourcesp. 246
Online Communitiesp. 246
Documentationp. 247
Toolsp. 248
Quick Reference Sheetsp. 249
Interesting Flex-Based Sitesp. 249
Glossaryp. 253
Indexp. 269