# Actionscript 2.0 on 3D Movements Coordinates

**URL:** <https://forum.kirupa.com/t/actionscript-2-0-on-3d-movements-coordinates/81516>\
**Category:** flash\
**Created:** [March 3, 2005, 1:10am UTC](https://forum.kirupa.com/t/actionscript-2-0-on-3d-movements-coordinates/81516 "2005-03-03T01:10:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![reduakari](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@reduakari](https://forum.kirupa.com/u/reduakari)\
**Post date:** [March 3, 2005, 1:10am UTC](https://forum.kirupa.com/t/actionscript-2-0-on-3d-movements-coordinates/81516/1 "2005-03-03T01:10:54Z")

</div>

1stly: i want to make a 3D enviroment able to move using arrow key pad.

2nd: i done some coding where its able to move ard the 3d movie. but i unable to get the coordinates out(anyway to add it on?)

```auto
// change the x- and z-axis translation of the objects according to which keys are pressed
translation_z = Key.isDown(Key.DOWN)*25-Key.isDown(Key.UP)*25;
 
// change the y-axis rotation angle according to which keys are pressed
rotation_y = Key.isDown(Key.RIGHT)*.5-Key.isDown(Key.LEFT)*.5; 

```

3rd: so i need some way to able to transfer to the code everytime to a absolute variable (like in this case abs\_x and abs\_z (3d enviroment uses x n z axes not x n y).

I hope this clear enough and hope to see a reply asap. i need it urgently.
