Home > Articles > Web Development > Dreamweaver & Flash

  • Print
  • + Share This
This chapter is from the book


If you're getting fancy and writing some complicated Flash, you may find that the objects, methods, and properties that Flash provides don't quite meet your needs. Fortunately, Flash provides a way for you to create your own objects, properties, and methods using constructor functions.

If the predefined functions Flash provides don't quite meet your needs, you can create your own functions (if you've done work in JavaScript, the concept of functions will be quite familiar to you).

A function is a set of instructions that's executed only at certain times. We'll be using them in later chapters. We used functions when we created HairBand earlier in this chapter. Functions can look (and act) a lot like methods. You'll see some of this overlap later as well.

  • + Share This
  • 🔖 Save To Your Account