ABSTRACT

What is ActionScript? ActionScript is a list of instructions written as text, in a very specific way. Before the program runs this text is converted into a series of codes; when the Flash Player reads the codes, it performs the instruction in an unambiguous way. For example, if it found the instruction:

x = 23;

Flash would allocate a little piece of memory that it could refer to later and assign the value 23 to this location. You could retrieve the contents of the variable simply by referring to it, therefore

trace(x);

would result in the image shown in Figure 7.1. The Output window opens automatically whenever a ‘trace’ statement is executed.