Think about your approach to ActionScript like this: LEGO® bricks. Each brick has its own unique qualities, which determine how it may be used most effectively. The standard 2×4 bricks are good for constructing walls, 2×2s are good for towers, 1×6s are good for … you get the idea. The characteristics of each brick dictate its use.
In ActionScript, you have similar such building blocks. They’re called objects. In programming terms, an object is a discrete collection of variables and functions: it is a “thing” comprised of certain characteristics that perform certain actions and respond to certain others.
Just about everything in ActionScript may be represented by an object, including palpable items like movie clips, buttons, and text fields, as well as non-visual items like dates, arrays, and sounds. Even ethereal concepts like text formatting, colors, and math functions can be summed up by an object. Once you become familiar with the objects in ActionScript, you may use them like bricks to build whatever you please. Keep reading »