Flash XML Applications: Use AS2 and AS3 to Create Photo Galleries, Menus, and Databases
Book Description
Flash applications are essential delivery mechanisms for seamless, user controlled delivery of content produced by 2 million Flash developers for 98% of the world’s computers
Product Description
Add seamless, interactive, user-controlled delivery to your Flash applications. This book builds upon your understanding of basic ActionScript (AS) syntax with the foundational skills that you need to use XML in Flash applications and AS2 or AS3 to migrate your existing applications.
Beginning with an introduction to XML, XML parsing methods, and a short introduction to AS2 you learn how to create a universal XML load/onload Class as well as a universal XHTML parser. Then you learn how to use Components using XML as the data source, including the menu, menubar, datagrid and tree component. Finally, a tutorial projectthe design and development of a Real Estate Web site that contains an XML search enginepulls it all together with hands-on experience.
All the applications use XML as the data source and are written as class files. Select parts of the Real Estate Web site are redeveloped in AS3 for purposes of illustration. The new XML class is presented and specific code examples demonstrate techniques to apply methods and use properties. Particular attention is paid to the differences between AS2 and AS3 and how to effectively transition from one AS version to the other.
The companion CD contains code for all of the properties and methods of the AS2, AS3, and XML class examples. Components for the Real Estate Web site project are also provided.
* Build on basic ActionScript syntax skills
* Add seamless, interactive, user-controlled delivery
Download link in comment
ActionScript 3 Design Patterns

Product Description
Now that ActionScript is reengineered from top to bottom as a true object-oriented programming (OOP) language, reusable design patterns are an ideal way to solve common problems in Flash and Flex applications. If you’re an experienced Flash or Flex developer ready to tackle sophisticated programming techniques with ActionScript 3.0, this hands-on introduction to design patterns is the book you need.
ActionScript 3.0 Design Patterns takes you step by step through the process, first by explaining how design patterns provide a clear road map for structuring code that actually makes OOP languages easier to learn and use. You then learn about various types of design patterns and construct small abstract examples before trying your hand at building full-fledged working applications outlined in the book. Topics in ActionScript 3.0 Design Patterns include:
- Key features of ActionScript 3.0 and why it became an OOP language
- OOP characteristics, such as classes, abstraction, inheritance, and polymorphism
- The benefits of using design patterns
- Creational patterns, including Factory and Singleton patterns
- Structural patterns, including Decorator, Adapter, and Composite patterns
- Behavioral patterns, including Command, Observer, Strategy, and State patterns
- Multiple design patterns, including Model-View-Controller and Symmetric Proxy designs
During the course of the book, you’ll work with examples of increasing complexity, such as an e-business application with service options that users can select, an interface for selecting a class of products and individual products in each class, an action game application, a video record and playback application, and many more. Whether you’re coming to Flash and Flex from Java or C++, or have experience with ActionScript 2.0, ActionScript 3.0 Design Patterns will have you constructing truly elegant solutions for your Flash and Flex applications in no time.
Download link in comment
