Chapter 2. Introducing the Basic Syntax of ActionScript

Understanding Object-Oriented Programming

Flash ActionScript programming is built on objects, classes, properties, and methods. Understanding how each building block works can help you understand how to add scripts and produce interactivity in your movies.

Understanding Objects and Classes

Object-oriented programming, or OOP, is a very common programming paradigm, used by most modern languages. In OOP, programmers organize code into objects that mimic real-world concepts, such as shopping carts, or encapsulate specific business models, such as a process to add a new customer to a database. As ActionScript 3.0 is an object-oriented programming language, understanding the basic terminology and ...

Get ActionScript®: Your visual blueprint™ for creating interactive projects in Flash® CS4 Professional now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.