Programming Flex 3

Created

10 November 2008

Requirements

 

User level

Beginning

If you want to try your hand at developing rich Internet applications with Adobe Flex 3, and already have experience with frameworks such as .NET or Java, this is the ideal book to get you started. Programming Flex 3 gives you a solid understanding of the Flex 3 core concepts, and valuable insight into how, why, and when to use specific Flex features.
 
Numerous examples and sample code demonstrate ways to build complete, functional applications for the web using the free Flex SDK, and RIAs for the desktop using Adobe AIR. This book is a companion to Flex 3 reference documentation. With this book, you will:
 
  • Learn the underlying details of the Flex framework
  • Program with MXML and ActionScript
  • Arrange the layout and deal with UI components
  • Work with media
  • Manage state for applications and components
  • Use transitions and effects
  • Debug your Flex applications
  • Create custom components
  • Embed Flex applications in web browsers
  • Build AIR applications for the desktop
Flex 3 will put you at the forefront of the RIA revolution on both the web and the desktop. Programming Flex 3 will help you get the most from this amazing and sophisticated technology.
 
The printed book is available through most major online and retail bookstores worldwide, and can be read online at Safari Books Online. For more information visit the O'Reilly store.
 
Copyright © 2008, O'Reilly Media. All rights reserved.
 

 
Application debugging

One of the strengths of Flex is its modern debugging capabilities. Debugging client-side code in web applications has traditionally been cumbersome. The Flash Debug Player, provided with Flex, allows developers the ability to debug applications in the same way they have been accustomed to with other modern development platforms.
 
In this chapter, we will cover runtime errors, debugging applications using FDB, debugging applications using the Flex Builder debugger, remote debugging, and tracing and logging.
 
 
Download the complete chapter

 
Embedding Flex applications in a web browser

Although it is possible to build Flex applications to deploy on the desktop (see Chapter 22), the vast majority of Flex applications today are deployed on the web. To deploy a Flex application on the web you should embed it in an HTML page. Although this may seem like a fantastically simple task (and it can be), it has larger implications. In this chapter, we'll look at these implications and the options available to you for embedding a Flex application in HTML and how a Flex application can interact with the web browser environment.
 
 
Download the complete chapter