O'Reilly logo

ActionScript 3.0: Visual QuickStart Guide by Derrick Ypenburg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Working with Variables and Properties

Variables and properties are the foundation of all Flash applications. Without variables (buckets of data), nothing can have a value or property (a property is a data bucket specifically associated with a class). Object instances could not exist, since instances of objects are referenced by variables. Objects also would not have properties to define them. Without instances and variables, properties would have no meaning or just simply not exist. In other words, ActionScript would be a useless language.

This chapter defines what variables are and how to work with them. Working with variables involves working with text and numbers and manipulating them and performing math operations.

This chapter also ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required