Manipulating Objects

Download Source



In this tutorial you will learn how to dynamically perform the following:

Scale objects along the x and y-axis
Rotate objects
Alpha objects
Visibility of objects and
Moving objects along the x and y-axis

The example used in this tutorial covers the above using animated object.

Here is the final result:

ActionScript 2 Source Explained

Complete Source Code

Scale – sizing the object using _xscale and _yscale

Rotate – changing the angle of an object using _rotation

Alpha – determine how see-thru an object using _alpha

Visibility – show or hide an object using _visible

Moving – move an object using _x and _y

Reset – reset the state of the Flash movie