# Problem with attachMovie

**URL:** <https://forum.kirupa.com/t/problem-with-attachmovie/137131>\
**Category:** Uncategorized\
**Created:** [February 11, 2005, 1:55pm UTC](https://forum.kirupa.com/t/problem-with-attachmovie/137131 "2005-02-11T13:55:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![goctala](https://avatars.discourse-cdn.com/v4/letter/g/e56c9b/32.png) [@goctala](https://forum.kirupa.com/u/goctala)\
**Post date:** [February 11, 2005, 1:55pm UTC](https://forum.kirupa.com/t/problem-with-attachmovie/137131/1 "2005-02-11T13:55:37Z")

</div>

I have this code about building a 3d cube which is calling on only one movieclip ‘window’, which represents the stop of the edge of the cube

My question is how can I place 8 diffrent movieclips in the cube, till how it is only one?

[color=slategray]//3dsettings  
perspective = 100;  
showcounter = -1000;  
//drawing a cube  
windows = 8;  
for (c=1; [color=slategray][/color]c\<=windows; c++) {  
attachMovie(“window”,c, c);

}  
x = new Array(0, -30, 30, -30, 30, -30, 30, -30, 30);  
y = new Array(0, -30, -30, 30, 30, -30, -30, 30, 30);  
z = new Array(0, 30, 30, 30, 30, -30, -30, -30, -30);  
//slot positions  
function slot(sx, sy) {  
this.x = sx;  
this.y = sy;  
}[/color]

[color=slategray]and so on and so on[/color]  
[color=#708090][/color]  
[color=black]Thank you[/color]  
goctala
