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

Chapter 9. Functions > Functions as Objects

9.12. Functions as Objects

In ActionScript, functions are technically a special type of built-in object. The Function class, formally exposed to ActionScript in Flash Player 6 and documented in the ActionScript Language Reference, creates individual function objects. Let's see what that means and how it affects what you can do with functions.

9.12.1. Passing Functions to Functions

We can use any function as an argument to another function, like this:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint