* Learn object-oriented programming in actionscript 3.0
* Covers both the Flash and Flex environments
* Includes design patterns, custom frameworks, data binding, and other crucial techniques
Object-oriented programming (OOP) is something that is usually considered a black art for hardcore programmers, not a topic of conversation for Flash developers. However, when adobe introduced actionscript 3.0 to the mix, it changed everything. actionscript 3.0 is much more powerful than previous versions, allowing Flash developers to produce robust object-oriented applications. but with that power comes great responsibility—OOP is now a requirement, rather than optional, and there are new things to learn.
But never fear—this book, based on the ever-popular Object-Oriented ActionScript for Flash 8, provides you all you need to delve into the world of OOP with confidence, whether you are using the Flash IDE, Flex builder, or even command-line tools for your development work.
First, you are taken gently through all the principles of OOP that you need to know, and then given a guide to designing and implementing applications in actionscript 3.0. Next, we step up a gear, showing you the Flex builder development environment and teaching about creating reusable, extensible component frameworks—manager classes, animation and effects classes, UI widgets, and more. lastly, we look at some more advanced topics such as communication between Flash and the browser and Web services. case studies are included that apply the knowledge presented, giving you real-world projects to learn from and adapt for use in your own work.
Mastering object-oriented programming is essential for modern Flash development, and Object-Oriented ActionScript 3.0 is the only guide you'll need.
In this book you'll learn:
* the essential principles of object-oriented programming, including inheritance, encapsulation, polymorphism, and more
* Valuable lessons on actionscript 3.0 project planning and programming, including design patterns and source control
* How to create your own extensible, reusable application framework using OOP best practices
* Advanced data integration techniques such as Web services and communication between Flash and the browser Object-Oriented ActionScript 3.0
Summary of Contents
* PART ONE: OOP AND ACTIONSCRIPT
o Chapter 1: Introduction to OOP
o Chapter 2: Programming Concepts
o Chapter 3: ActionScript 3.0 Programming
* PART TWO: FLASH OOP GUIDELINES
o Chapter 4: Planning
o Chapter 5: Project Workflow
o Chapter 6: Best Practices
o Chapter 7: Working with Flex 2
* PART THREE: CORE OOP CONCEPTS
o Chapter 8: Encapsulation
o Chapter 9: Classes
o Chapter 10: Inheritance
o Chapter 11: Polymorphism
o Chapter 12: Interfaces
o Chapter 13: Design Patterns
o Chapter 14: Case Study: An OOP Media Player
* PART FOUR: BUILDING AND EXTENDING DYNAMIC FRAMEWORKS
o Chapter 15: Manager Classes
o Chapter 16: UI Widgets
o Chapter 17: OOP Animation and Effects
* PART FIVE: DATA INTEGRATION
o Chapter 18: Exchanging Data Between Components
o Chapter 19: Communication Between Flash and the Browser
o Chapter 20: Server Communication (XML and Web Services)
o Chapter 21: Case Study: Slideshow Engine
· · · · · ·
About the Author
After studying theatre in London, then working for several years as an actor in the US, Todd was introduced to Flash in 2000 and was quickly taken by how it allowed for both stunning creativity and programmatic logic application--a truly left-brain, right brain approach to production--and has not looked back. He now freelances as a Flash developer in New York C...
After studying theatre in London, then working for several years as an actor in the US, Todd was introduced to Flash in 2000 and was quickly taken by how it allowed for both stunning creativity and programmatic logic application--a truly left-brain, right brain approach to production--and has not looked back. He now freelances as a Flash developer in New York City, creating both silly animations and utilitarian applications. His personal work and experimentation can be found at his website, www.27Bobs.com. Peter is a certified Flash MX 2004 developer, Team Macromedia volunteer for Flash and runs his own business named MindStudio, which mainly does multimedia development and consultancy.
Introduced to Macromedia Flash in late 1996, he started of doing interactive advertisement campaigns for one of Europe's largest online advertisement agencies. When Macromedia released its Generator software his interest moved more towards the backend side of things, fascinated by Flash and database integration -- what many considered some very innovative technology at that time.
After attending the FlashForward 2001 conference in Amsterdam, Peter was so inspired that he decided to make the switch from HTML to full-fledged multimedia development, a decision he hasn't regretted since.
Sas is a Web developer who loves working with Flash. She set up her business Anything Is Possible in 1994, working in the areas of web development, IT training and technical writing. The business works with large and small clients building web applications with ASP.NET, Flash, XML and databases.
Sas has also spoken at conferences such as Flash Forward, MXDU and FlashKit on topics relating to XML and dynamic content in Flash. In her spare time, Sas is passionate about travelling, photography and enjoying life. One of her most fervent wishes is that Flash will take over the Web!