Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Design > Adobe Creative Suite

  • Print
  • + Share This
Like this article? We recommend

Like this article? We recommend

Summary

Let's recap. Flash movies, comprising timelines and whatever they contain, have a particular set of objects that are accessible to ActionScript.

ActionScript is based on the ECMAScript standard (which is based on JavaScript and JScript) and is object-oriented. It comes complete with a set of ready-made object classes, as well as the tools to make custom objects or alter objects that already exist.

Objects are broadly defined as functional units consisting of some combination of data (properties) and programming instructions (methods).

The way in which objects are instantiated from a class—and, therefore, gain the properties and methods of that class—is known as inheritance. Using the prototype property of an object, you can add or change the methods and properties available to any new or existing objects that inherit from that class.

The ability to use inheritance to alter existing ActionScript objects means that you can expand upon common functionality and change the behavior of those built-in objects. It also allows for greater flexibility when working with your own custom objects.

  • + Share This
  • 🔖 Save To Your Account