WORKING WITH 3 DIMENSION
The 3D is a new feature of ActionScript. 3D basically stands for Three Dimensinal space. The major difference that comes between Two Dimension and Three Dimension is the addition of an extra dimension. With 2D we used to work with only two dimensions i.e 'x' and 'y'. But now with the addition of new feature of 3D we get the option of working with an extra axis i.e the 'z' axis. With this new feature the game developers and animators can now work with 3D view and movement more easily than before. The third dimension allows the user to create an object that can move toward and away from viewpoint of the user.
With the help of few examples we will get a better understanding of the 3D feature.
Suppose we have the set the position of any element across all the three axis then for that just follow the instance name with x,y,z property.