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

Chapter 15. Combining Statements into Fu... > Functions as Classes: Constructor Fu...

Functions as Classes: Constructor Functions

One of the most important types of functions in Flash is the constructor function. The constructor function, in combination with the new operator, is the way that Flash creates new objects.

The constructor function looks like a normal function, and, in fact, it is a normal function. However, you use the constructor function in a very specialized way, and therefore you take advantage of function characteristics that normally go unused.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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