"This book is an exceptional training manual to bring a web developer or flash designer with scripting skills into an entirely new world of coding."
--Christopher Ian Smith,
XML Developer, RespondTV.com
"This is a 'must-read' for any Flash developer."
--John Paul Rawlins, Editor
Flash and XML shows designers and developers how to integrate these powerful technologies and create dynamic web sites. With this thoroughly readable guide you take Flash to the next level, interfacing ActionScript with XML. Empower your Flash projects with dynamic content, backend databases, server-based applications, peer-to-peer, and more.
Flash and XML is a tutorial that brings you up to speed on both technologies, offering clear and concise explanations. In addition, this book presents a number of important web technologies, including PHP, MySQL, and sockets. It shows how to work with these technologies to create n-tier, interactive systems that access the full resources of the Internet.
Sample projects (trivia game, XML browser, simple chat) showcase the capabilities of Flash and XML together and demonstrate important concepts, approaches, and techniques.
The companion web site at http://www.FlashandXML.com contains all of the source code referenced in the book, as well as updates, discussion groups, and links to other resources.
Containing plentiful examples, experience-based techniques, and just enough theory, Flash and XML is a one-stop sourcebook that will guide you in the development of web sites that are not only animated, interactive, and powerful, but extremely useful as well.
Specific topics covered include:
- Flash architecture
- ActionScript techniques
- XML in detail--for Flash developers
- DTD specification
- Internet request and response: HTTP
- Server scripting with PHP
- Basic SQL syntax
- Designing MySQL databases
- From MySQL to Flash via XML and PHP
- Packet sniffers
- Escaping the Domain Perimeter
- XML Sockets and streaming data
- Multi-user communication in Flash
Table of contents
1. Flash Basics.
2. FlashActionScript: Objects and Events.
3. More ActionScript: Data-Driven Interfaces.
4. XML Fundamentals.
5. XML Structure.
6. XML Validation: DTD.
7. HTTP Connection.
8. XML Connection.
9. Recursive Approach.
10. XML Server.
11. Database Fundamentals.
12. SQL Syntax.
13. Serving from SQL.
14. XML Upload.
15. Two-Way XML.
17. Three Tiers.
18. Flash to the World.
19. XML Sockets.
20. Multiplexed XML Sockets.
Appendix A: Microsoft Compatibility.
Appendix B: Scalable Vector Graphics (SVG).
Appendix C: Tools and Sources.
All the material you need to teach your courses.Discover teaching material