Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 6. Functions and Methods

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 and methods are, as well as exercises in which you write and use functions and methods in Flash, see the following topics:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial