Help me make this With action Script

How can I do something like this(change the view ( perspective of an object)) using actionscript stuff such as the Z axis and things like that.

 Please Help.