Using Code Examples

This book is here to help you get your job done. In general, you may use the code in this book in your programs and documentation. You do not need to contact us for permission unless you’re reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from O’Reilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your product’s documentation does require permission.

We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example: “Enterprise Development with Flex, by Yakov Fain, Victor Rasputnis, and Anatole Tartakovsky. Copyright 2010 Yakov Fain, Victor Rasputnis, and Anatole Tartakovsky, 978-0-596-15416-5.” If you feel your use of code examples falls outside fair use or the permission given here, feel free to contact us at .

The source code for this book is available online; each chapter is in a single zipped folder. To download the sample code for a chapter, enter the directory URL followed by the name of the chapter with the extension .zip. For example, the code for Chapter 5 can be accessed at the following URL:

http://faratasystems.com/entflex_sc/chapter5/chapter5.zip

If you see a directory called Flex4 in some of the .zip files, it contains a port of the Flex 3 code samples. Please note that the folder for Chapter 4 doesn’t exist, as there is no sample code in that chapter. The folder for Chapter 6 doesn’t exist either, because all of the source code for enhanced Flex components is included in the clear.swc library in the Clear Toolkit Concurrent Versions System (CVS) repository at SourceForge. To save space, Chapters 7 and 10 contain only manually written code.

Most of the chapters contain Flex projects copied from the workspaces of the authors of this book. In certain cases, supporting libraries were not included (such as Chapter 8), as some of the projects were more than 300 MB! To use the code in these cases, create a new project in Flash Builder and copy the source code into the newly created project.

Get Agile Enterprise Application Development with Flex now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.