Free Downloads
ActionScript 3.0 Cookbook: Solutions For Flash Platform And Flex Application Developers

Well before Ajax and Microsoft's Windows Presentation Foundation hit the scene, Macromedia offered the first method for building web pages with the responsiveness and functionality of desktop programs with its Flash-based "Rich Internet Applications". Now, new owner Adobe is taking Flash and its powerful capabilities beyond the Web and making it a full-fledged development environment.Rather than focus on theory, the ActionScript 3.0 Cookbook concentrates on the practical application of ActionScript, with more than 300 solutions you can use to solve a wide range of common coding dilemmas. You'll find recipes that show you how to:Detect the user's Flash Player version or their operating systemBuild custom classesFormat dates and currency typesWork with stringsBuild user interface componentsWork with audio and videoMake remote procedure calls using Flash Remoting and web servicesLoad, send, and search XML dataAnd much, much more ...Each code recipe presents the Problem, Solution, and Discussion of how you can use it in other ways or personalize it for your own needs, and why it works. You can quickly locate the recipe that most closely matches your situation and get the solution without reading the whole book to understand the underlying code. Solutions progress from short recipes for small problems to more complex scripts for thornier riddles, and the discussions offer a deeper analysis for resolving similar issues in the future, along with possible design choices and ramifications. You'll even learn how to link modular ActionScript pieces together to create rock-solid solutions for Flex 2 and Flash applications.When you're not sure how ActionScript 3.0 works or how to approach a specific programming dilemma, you can simply pick up the book, flip to the relevant recipe(s), and quickly find the solution you're looking for.Adobe Developer Library is a co-publishing partnership between O'Reilly Media and Adobe Systems, Inc. and is designed to produce the number one information resources for developers who use Adobe technologies. Created in 2006, the Adobe Developer Library is the official source for comprehensive learning solutions to help developers create expressive and interactive web applications that can reach virtually anyone on any platform. With top-notch books and innovative online resources covering the latest in rich Internet application development, the Adobe Developer Library offers expert training and in-depth resources, straight from the source.

Paperback: 588 pages

Publisher: Adobe Developer Library; 1 edition (October 21, 2006)

Language: English

ISBN-10: 0596526954

ISBN-13: 978-0596526955

Product Dimensions: 7 x 1.3 x 9.2 inches

Shipping Weight: 1.9 pounds (View shipping rates and policies)

Average Customer Review: 3.8 out of 5 stars  See all reviews (39 customer reviews)

Best Sellers Rank: #596,512 in Books (See Top 100 in Books) #18 in Books > Computers & Technology > Digital Audio, Video & Photography > Adobe > Adobe Flash #209 in Books > Textbooks > Computer Science > Object-Oriented Software Design #242 in Books > Computers & Technology > Digital Audio, Video & Photography > Video Production

This book is in the style of the classic O'Reilly Cookbook series format, in which each recipe presents the problem, the solution, and a discussion of the solution. Each section pretty much stands alone, although you should understand chapter one on the basics before moving on. The Discussion sections of each recipe offer a good analysis of how the solution works and different design choices and their various ramifications. Thus you get the best of both worlds - quick and easy access to the answers you want and deeper insights into the nature of both the problem and the solution. This book is helping me develop my understanding of ActionScript concepts by applying them in real situations and I highly recommend it.All of the code examples in this book are based on ActionScript 3.0 and only compatible with products that support ActionScript 3.0. Flex 2.0 and Flash 9 allow you to author ActionScript 3.0 content. Flash Player 9 supports ActionScript 3.0. If you are using a product that does not support ActionScript 3.0, then the code in this book is not likely to work.The following is the table of contents:Chapter 1. ActionScript BasicsRecipe 1.1. Creating an ActionScript ProjectRecipe 1.2. Customizing the Properties of an ApplicationRecipe 1.3. Where to Place ActionScript CodeRecipe 1.4. How to Trace a MessageRecipe 1.5. Handling EventsRecipe 1.6. Responding to Mouse and Key EventsRecipe 1.7. Using Mathematical OperatorsRecipe 1.8. Checking Equality or Comparing ValuesRecipe 1.9. Performing Actions ConditionallyRecipe 1.10. Performing Complex Conditional TestingRecipe 1.11. Repeating an Operation Many TimesRecipe 1.12. Repeating a Task over TimeRecipe 1.13.

This is an excellent book. I'd recommend it to anyone using Flex 2 (and eventually Flash 9) -- especially now with the limited resources available for ActionScript 3 (AS3). There are a lot of useful examples along with coherent explanations of why the authors are programming the way they are.The chapter on XML (chapter 20) is a must-read. It includes concise summaries of dealing with XML in AS3, which has changed significantly from AS2. Generally, XML handling is much easier in AS3, but there are some areas that can be really confusing when making the switch from AS2. This book explains most things you'll need to do with XML in AS3.The chapter titled "Display List" (chapter 6) also contains critical information for developers coming from AS2. The rendering model in Flash Player 9 is completely re-designed -- a move away from the MovieClip class (although it's still in there) to the new DisplayObject class. The examples provided here give some important guidance on working with the various elements in rendering your project's interface.I particularly like some of the custom classes available as a free download (of course, you should buy the book for those!). For instance, recursive arrays can be a hassle to deal with, but very useful in many projects. One of the classes includes several Array utilities -- one, in particular, that makes dealing with recursive arrays easier.Of course, there's a lot of other great stuff in this book. I won't touch on all its greatness, but, again, I do recommend it highly.That said, I do have a few complaints.They are not to dissuade you from buying the book, but to give the authors some feedback, in hopes that they can improve the next edition.

The authors for this book are all well-known, top-notch ActionScript developers and experienced authors. They've collected a nice set of tasks that are common enough that you are likely to want to know how to do them in ActionScript, but involved enough or cross-topic enough that you won't be likely to find them in the in-product documentation.The book also has a very nice supplemental code library. This is sort of a mixed blessing; it's a download, so anyone can get it (not just people who pay for the book) and in several recipes the authors' solution is just to "use class X and method Y from the book's code library," without any explanation as to why the code works, or what it does under the covers. Depending on your coding style, you may or may not want that level of detail, but I'm the sort of person who does want it so it left me a little disappointed.However, there's also a lot in this book that doesn't fit with my idea of what should be in the "cookbook" format book. In my mind, a "cookbook" is a book whose topics are more "edgy" or involved than what you might find in the core documentation. It should cover how to accomplish specific tasks that aren't easily figured out and aren't found elsewhere (again, especially not in the main documentation). It should also include "hacks" or workarounds to accomplishing things that aren't readily available using the built-in functionality of the language.This book has plenty of those topics, but it also has a lot of topics that are covered well and in sufficient detail in the in-product help. To make things worse, often those topics are not just given a one-page-or-less "cookbook" treatment (which would be useful for those "I know I've seen it before but I can't quite remember what the syntax is" moments).

ActionScript 3.0 Cookbook: Solutions for Flash Platform and Flex Application Developers Ski Flex: Flexibility, Fitness, and Conditioning for Better Skiing (Sports Flex Series) Foundation Flex for Developers: Data-Driven Applications with PHP, ASP.NET, ColdFusion, and LCDS Flash Builder 4 and Flex 4 Bible ActionScript 3.0 for Adobe Flash Professional CS5 Classroom in a Book ActionScript 3.0 for Adobe Flash CS3 Professional Hands-On Training After Effects for Flash / Flash for After Effects: Dynamic Animation and Video with Adobe After Effects CS4 and Adobe Flash CS4 Professional AdvancED Flash on Devices: Mobile Development with Flash Lite and Flash 10 (Friends of Ed Abobe Learning Library) Programming PC Connectivity Applications for Symbian OS: Smartphone Synchronization and Connectivity for Enterprise and Application Developers (Symbian Press) Xamarin Mobile Application Development: Cross-Platform C# and Xamarin.Forms Fundamentals Ajax for Web Application Developers Ajax for Web Application Developers (Developer's Library) Xamarin Cross-platform Application Development - Second Edition Essential ActionScript 3.0 ActionScript 3.0 Design Patterns: Object Oriented Programming Techniques (Adobe Developer Library) Fotografía Digital Réflex Paso a Paso (Spanish Edition) My Child Won't Sleep Through the Night: 5 No-Cry Solutions to Solve Your Child's Sleep Issues (Baby Sleep Solutions, Toddler Sleep Problems, Child Sleep Solutions, No-Cry Sleep Solution) Extending Macromedia Flash MX 2004: Complete Guide and Reference to JavaScript Flash Flash Professional CS5 and Flash Catalyst CS5 For Dummies Nonvolatile Memory Technologies with Emphasis on Flash: A Comprehensive Guide to Understanding and Using Flash Memory Devices