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

Home > Articles > Web Design & Development > Adobe Flash

ActionScript 2.0: A Real Programming Language

  • Print
  • + Share This
It is almost impossible to ignore ActionScript when you begin to develop and build solutions with Flash. The latest release of Flash MX 2004 has significantly raised the bar for the level of control that ActionScript gives you. In this article, Matthew David illustrates how ActionScript 2.0, the new name for the new version of ActionScript, improves significantly over its predecessor.
Like this article? We recommend

Like this article? We recommend

ActionScript is the foundation language you use to build interactive applications within Flash. Since ActionScript first appeared in Flash, there has been a consistent and deliberate move from Macromedia to increase the support of the language from a simple "gluing" language, adding minimal interaction to Flash Movies to a robust and scalable programming language.

Using ActionScript in Flash

ActionScript first appeared as a programming language in Flash 4. But let's forget that. It was a weak attempt at best. Strangely, the potential sparked enough interest that Macromedia realized that ActionScript needed to be raised a notch or two to be able to compete with the big boys.

Flash 5 came with a complete rewrite of ActionScript. Programming practices such as slashes were removed and replaced with conventional dot syntax programming that is more common in programming languages such as JavaScript.

With Flash MX, ActionScript was improved upon. Now you could, through some clever tricks, begin object-oriented programming (OOP). OOP is the Holy Grail for programming languages and for programmers. It allows a programmer to create bite-sized chunks of code that can be referenced and reused.

The problem with Flash MX is that you need to jump through hoops to get what you need to work on ActionScript to actually work.

  • + Share This
  • 🔖 Save To Your Account