CHAPTER 13
Snippets and Classes
Some developers prefer to contain all of their code in classes or external .as files, while some others are more comfortable having their code on the timeline, and still others find that there are times for both depending on the project at hand. In this chapter you’ll find helpful, reusable code and classes. The code for each piece will be followed by an explanation about what’s happening within it. These snippets and classes can also be found on the website at http://www.flashadbook.com/code/. There are only two sections in this chapter, and you might have guessed that they are:
• Snippets
• Classes
Snippets
Snippets can be very useful when you see that there are tasks or functions that you create and use ...
Get Creating Flash Advertising 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.