Book description
A complete and thorough reference for developers on the new Flex 4 platform
Create desktop applications that behave identically on Windows, Mac OS X, and Linux with Adobe's new Flash Builder 4 platform and this in-depth guide. The book's tutorials and explanations walk you step-by-step through Flash Builder's new, faster tools; the new framework for generating code; how to connect to popular application servers; upgrading from Flex 3; and much more.
Shows you how to create rich applications for the Web and desktop with the very latest version of Flex, with detailed coverage for both new and veteran Flex application developers
Walks you through Flex basics; upgrading from Flex 3; how to create desktop applications with AIR; and integrating Flex applications with the most popular application servers, including ColdFusion, ASP.NET, and PHP
Includes extensive code samples of common tasks that you can use to jump-start your development projects
Flex your development muscles with the Flex 4 and this comprehensive guide.
Table of contents
- Copyright
- About the Author
- Credits
- Preface
- Acknowledgments
-
I. Flex Fundamentals
-
1. About Flex 4
- 1.1. Learning the Fundamentals of Flex
- 1.2. Understanding Adobe Flash Player
- 1.3. Flex 4 Development Tools
- 1.4. Getting Help
- 1.5. Summary
-
2. Using Flash Builder 4
- 2.1. Getting Flash Builder
- 2.2. Installing Flash Builder 4
- 2.3. Getting to Know Eclipse Features
- 2.4. Using Flash Builder
- 2.5. Getting Help
- 2.6. Searching for Code
- 2.7. Generating Code
- 2.8. Integrating Flash Builder with Flash Professional CS5
- 2.9. Summary
- 3. Building a Basic Flex Application
- 4. Understanding the Anatomy of a Flex Application
- 5. Using Bindings and Components
-
6. Debugging Flex Applications
- 6.1. Debugging Basics
- 6.2. Using trace() and the Logging API
-
6.3. Using Breakpoints
- 6.3.1. Setting and clearing breakpoints
- 6.3.2. Setting and removing breakpoints in an MXML or ActionScript editor
- 6.3.3. Setting conditional breakpoints
- 6.3.4. Using the Breakpoints view
- 6.3.5. Using breakpoints in a debugging session
- 6.3.6. Inspecting variables and expressions
- 6.3.7. Controlling application execution with the Debug view
- 6.4. Profiling Flex Applications
- 6.5. Using the Network Monitor
- 6.6. Summary
-
7. Working with Events
- 7.1. The Flex Event Architecture
-
7.2. Handling Events in MXML
- 7.2.1. Declaring event listeners in MXML
-
7.2.2. Working with event objects
- 7.2.2.1. The event object's variable name
- 7.2.2.2. Using event object arguments
- 7.2.2.3. Generating an event handler function
- 7.2.2.4. Using event object properties
- 7.2.2.5. Using event object properties in an application
- 7.2.2.6. Event class inheritance
- 7.2.2.7. Which event class will I get?
- 7.2.2.8. Debugging the event object
- 7.2.2.9. Reading the documentation
- 7.2.2.10. Handling specific event objects
- 7.3. Handling Events with addEventListener()
- 7.4. Using Event Bubbling
- 7.5. Using Custom Events
- 7.6. Using Custom Event Classes
- 7.7. Summary
-
1. About Flex 4
-
II. Designing Flex Applications
-
8. Using Flex Visual Controls
- 8.1. Instantiating and Customizing Controls
- 8.2. Using Spark Text Controls
- 8.3. Using Layout Controls
- 8.4. Using Button Controls
- 8.5. Other Data Entry Controls
- 8.6. Using Interactive Controls
- 8.7. Using the Image and BitmapImage Controls
- 8.8. Summary
- 9. Working with Text
-
10. Using Layout Containers
- 10.1. Using MX Basic Containers
- 10.2. Using Spark Group Components
- 10.3. Using Panel Containers
- 10.4. Using Constraint-Based Layout
- 10.5. Sizing Containers and Controls
- 10.6. Creating a Scrolling Region
- 10.7. Summary
-
11. Using Cascading Style Sheets
- 11.1. About Cascading Style Sheets
- 11.2. What Is a Style Sheet?
- 11.3. Using Inline Style Declarations
- 11.4. Declaring Style Sheets with <fx:Style>
- 11.5. Using Style Selectors
- 11.6. Using Embedded Style Sheets
- 11.7. Using External Style Sheets
- 11.8. Using Compiled Style Sheets
- 11.9. Controlling Styles with ActionScript
- 11.10. Summary
- 12. Controlling Animation and Working with Drag and Drop
- 13. Managing View States
- 14. Declaring Graphics with MXML and FXG
- 15. Skinning Spark Components
-
16. Managing Application Navigation
- 16.1. Understanding Classic Web Navigation
- 16.2. Understanding Flex Navigation
- 16.3. Using Navigator Containers
- 16.4. Using Navigator Bar Containers
- 16.5. Using Menu Controls
- 16.6. Using Other Navigator Containers
- 16.7. Summary
-
17. Working with Pop-up Windows
- 17.1. Using the Alert Class
- 17.2. Using the PopUpMenuButton Control
- 17.3. Using the PopUpButton control
- 17.4. Working with Custom Pop-up Windows
- 17.5. Summary
-
8. Using Flex Visual Controls
-
III. Working with Data
-
18. Modeling and Managing Data
- 18.1. Creating a Data Model
- 18.2. Using Value Objects
- 18.3. Using Data Collections
- 18.4. Summary
- 19. Using List Controls
- 20. Using Advanced List Controls
- 21. Using the Flex Charting Controls
-
22. Working with Data Entry Forms
- 22.1. Using the Form Container
- 22.2. Using Custom Form Components
- 22.3. Validating Data Entry
- 22.4. Sharing Data with the Application
- 22.5. Summary
-
23. Working with HTTPService and XML
- 23.1. Using RPC and REST Architectures
- 23.2. Creating Data-Centric Applications with Flash Builder 4
- 23.3. Declaring and Configuring HTTPService Objects
- 23.4. Sending and Receiving Data
- 23.5. Working with Value Objects
- 23.6. Passing Parameters to Server Pages
- 23.7. Handling Cross-Domain Policy Issues
- 23.8. Summary
- 24. Managing XML with E4X
-
18. Modeling and Managing Data
-
IV. Integrating Flex Applications with Application Servers
- 25. Working with SOAP-Based Web Services
-
26. Integrating Flex Applications with BlazeDS and Java
- 26.1. Using BlazeDS
- 26.2. Creating Flex Projects for Use with BlazeDS
- 26.3. Using the Proxy Service
- 26.4. Using the Remoting Service
- 26.5. Using the RemoteObject Component
- 26.6. Working with BlazeDS Data Connections in Flash Builder 4
- 26.7. Summary
- 27. Using the Message Service with BlazeDS
-
28. Integrating Flex Applications with ColdFusion
- 28.1. Understanding Flash Remoting and ColdFusion
- 28.2. Creating ColdFusion Components for Flex
- 28.3. Using CFCs with the RemoteObject Component
- 28.4. Handling CFC Function Results
- 28.5. Passing Arguments to CFC Functions
- 28.6. Using Value Object Classes
- 28.7. Working with RemoteObject Faults
- 28.8. Working with Data Connections in Flash Builder
- 28.9. Calling ColdFusion 9 Services
- 28.10. Summary
- 29. Integrating Flex Applications with PHP
- V. Additional Subjects
Product information
- Title: Flash® Builder™ 4 and Flex® 4 Bible
- Author(s):
- Release date: April 2010
- Publisher(s): Wiley
- ISBN: 9780470488959
You might also like
book
Flash® Catalyst™ CS5 Bible
FLSH CAST is one of the most anticipated releases in the company’s history. The FLSH CAST …
book
Adobe® Flash® CS3 Professional Bible
Two of the savviest Flash experts in the industry show you how to add impact to …
book
Flash Builder @ Work: Building AIR Applications
Understand the architecture of the AIR framework, the merits of AIR applications vs. Flex applications, and …
book
Macromedia® Flash™ MX ActionScript for Fun & Games
Anyone with moderate Macromedia Flash experience who is looking to acquire or improve their understanding of …