# Rotating cube with images

**URL:** <https://forum.kirupa.com/t/rotating-cube-with-images/215621>\
**Category:** Uncategorized\
**Created:** [February 8, 2007, 7:33pm UTC](https://forum.kirupa.com/t/rotating-cube-with-images/215621 "2007-02-08T19:33:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy\_beet](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@andy\_beet](https://forum.kirupa.com/u/andy_beet)\
**Post date:** [February 8, 2007, 7:33pm UTC](https://forum.kirupa.com/t/rotating-cube-with-images/215621/1 "2007-02-08T19:33:41Z")

</div>

Hi all,  
I have been trying to adapt the code from this example [http://www.kirupa.com/developer/actionscript/faces\_depths.htm](http://www.kirupa.com/developer/actionscript/faces_depths.htm)

the code can be found here [http://www.kirupa.com/developer/actionscript/3dindex.htm](http://www.kirupa.com/developer/actionscript/3dindex.htm)  
and the example is Kirupa\_3D\_17\_ButtonCube.fla

It seems like each face of the cube is a movieclip, and the face is drawn within this clip.

Instead of each face having a color, i would like to insert a jpg. I am struggling to understand how to do this.

Any help would we welcomed

thanks  
Andy
