# \[Flash Professional 8\]3d rotation of a cube in 2d

**URL:** <https://forum.kirupa.com/t/flash-professional-8-3d-rotation-of-a-cube-in-2d/175842>\
**Category:** flash\
**Created:** [January 18, 2006, 8:37am UTC](https://forum.kirupa.com/t/flash-professional-8-3d-rotation-of-a-cube-in-2d/175842 "2006-01-18T08:37:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AsYOUwish](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AsYOUwish](https://forum.kirupa.com/u/AsYOUwish)\
**Post date:** [January 18, 2006, 8:37am UTC](https://forum.kirupa.com/t/flash-professional-8-3d-rotation-of-a-cube-in-2d/175842/1 "2006-01-18T08:37:44Z")

</div>

I’am a beginner with flash and I’am searching for a actionscript for a cube. You can only see 1 side at the time so in 2d and than there are 4 buttons within a movie clip at each side of the square. By using those buttons the cube should rotate like when having a dice in your hand. The problem now is that when I turn up and then right or left the wrong number is appearing.  
So actually a script in which you can navigate between the different sides of a dice. I hope someone will respons.
