Chapter 6. Functions and Methods
Understanding functions is important when you’re writing ActionScript, creating classes, and using methods. There are several different kinds of functions that you’ll work with. In this chapter, you learn about functions and methods: how to use them in your applications when you use built-in classes, and how to write them. In Chapter 7, “Classes,” you’ll create custom classes in which you’ll write functions regularly. You’ll also learn how to write functions in ActionScript class files.
You can use functions in your code to add interactivity, animations, and other effects to your applications. This chapter covers the kinds of functions that you can write in your Flash applications. For information on what functions ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access