Table of Contents
Preface
Chapter 1: Installing and Configuring Adobe Flex
Chapter 2: Introduction to Flex 3 Framework
Chapter 3: Introduction to ActionScript 3.0
Chapter 4: Using External API and LocalConnection
Chapter 5: Working with XML
Chapter 6: Overview of LiveCycle Data Services and BlazeDS
Chapter 7: Flex Data Access Methods
Chapter 8: Communicating with Server-side Java
Chapter 9: Debugging Techniques
Chapter 10: Styling your Application
Chapter 11: Packaging and Deployment
Chapter 12: Internationalization and Localization
Chapter 13: Creating an E-commerce Application
Index
- Chapter 1: Installing and Configuring Adobe Flex
- Installing open source Flex 3 SDK
- Installation directory structure
- About configuration files
- Flex compilers
- Using compc—the component compiler
- Using mxmlc—the application compiler
- Installing Flex Builder 3
- Creating a Flex project
- UI designer and source code editor
- Flex LiveDocs
- Summary
- Installing open source Flex 3 SDK
- Chapter 2: Introduction to Flex 3 Framework
- How Flex works
- Compiling and running an application
- About MXML
- Understanding namespaces
- Using namespaces in your code
- Containers
- Layout manager
- Layout containers
- Using Box, HBox, and VBox containers
- Navigator containers
- Form containers
- Constraint-based layout
- Using events in MXML
- Creating custom events
- Validating and formatting data
- Restricting user entry
- Formatting
- Data binding
- Using the [Bindable] metadata tag
- Creating MXML custom components
- Understanding Flex itemRenderers
- Drop-in itemRenderers
- Inline itemRenderers
- External itemRenderers
- Summary
- Chapter 3: Introduction to ActionScript 3.0
- ActionScript 3.0 language features
- Strict data typing
- Runtime exceptions
- Sealed classes and dynamic classes
- Method closure
- XML and E4X
- New primitive data types
- Regular expressions
- Object-oriented programming
- ActionScript 3.0 fundamentals
- Variables
- Access modifiers
- Packages
- Classes and interfaces
- Classes
- Interfaces
- Implementing an interface in a class
- Inheriting classes
- Functions and methods
- Named functions
- Anonymous functions
- Function parameters
- Setter and getter methods
- Flow control and looping
- If/else statement
- switch statement
- Looping
- Exceptions and error handling
- try…catch…finally statements
- Create your own custom Error class object
- Reserved words and keywords
- Using ActionScript 3.0 with MXML
- Using the <mx:script> tag
- Using the include directive
- Working with events
- Registering event handlers
- Dispatching an event
- About the target and currentTarget properties
- Event propagation
- Capturing phase
- Targeting phase
- Bubbling phase
- Creating custom events
- Creating and using ActionScript components
- The commitProperties() method
- The createChildren() method
- The layoutChrome() method
- The measure() method
- The updateDisplayList() method
- Summary
- ActionScript 3.0 language features
- Chapter 4: Using External API and LocalConnection
- Using External API
- Using the ExternalInterface class
- Getting information about external container
- Calling JavaScript code from ActionScript
- Calling ActionScript code from JavaScript
- Using the ExternalInterface class
- Using LocalConnection
- Summary
- Using External API
- Chapter 5: Working with XML
- XML basics
- Understanding E4X
- The XML object
- The XMLList object
- Working with XML objects
- Using XML as dataProvider
- Loading external XML documents
- An example: Building a book explorer
- Summary
- Chapter 6: Overview of LiveCycle Data Services and BlazeDS
- LiveCycle Data Services
- BlazeDS
- BlazeDS vs LiveCycle Data Services
- LiveCycle Data Services
- BlazeDS
- Understanding AMF
- Summary
- Chapter 7: Flex Data Access Methods
- Flex data access components
- The HTTPService class
- Using the HTTPService tag in MXML
- An example of HTTPService
- Using the HTTPService class in ActionScript
- The WebService class
- Using the WebService tag in MXML
- An example of WebService
- WSDL document
- Using the WebService class in ActionScript
- Working with SOAP headers
- The RemoteObject class
- Using the RemoteObject tag in MXML
- An example of RemoteObject
- Working with strongly-typed objects
- Understanding the Flash Player security sandbox
- Understanding the cross-domain policy file
- Creating a proxy service
- The HTTPService class
- Summary
- Flex data access components
- Chapter 8: Communicating with Server-side Java
- The HTTPService class
- Working with XML data
- Working with JSON data
- Summary
- The HTTPService class
- Chapter 9: Debugging Techniques
- Flash Debug Player
- Using client-side logging
- Flex Builder Debugger
- The Debug view
- The Variables view
- The Breakpoints view
- The Expressions view
- Network monitoring
- ServiceCapture
- Charles Web Debugging Proxy
- Summary
- Flash Debug Player
- Chapter 10: Styling your Application
- Using inline styles
- Using external CSS files
- Creating and designing Cascading Style Sheets
- Loading stylesheets at runtime
- Summary
- Chapter 11: Packaging and Deployment
- Packaging your application
- Using Flex Ant Tasks
- Deploying your application
- Flex deployment options
- Using a single SWF file deployment
- Using web-tier compilation
- Flex deployment options
- Summary
- Chapter 12: Internationalization and Localization
- Internationalization (i18n) and localization (l10n)
- Language
- Assets
- Culture
- Time zones
- Localization of Flex applications
- Creating a resource file
- Creating resource modules
- Summary
- Internationalization (i18n) and localization (l10n)
- Chapter 13: Creating an E-commerce Application
- The general anatomy of the application
- Let's start coding
- The Flex code
- The Java code
- Directories and files
- Summary
[ Popular Books from Packt ]
Festive Offer
You will be delighted to know that you can now buy any 5 of your favorite Packt Open Source eBooks at an unbelievable price of $40.
Offer expires on 4th January 2011. Build up your eBook collection now!