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 ...
Get ActionScript 3.0: Visual QuickStart Guide 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.