# 3d Spinning Images - Merry-go-round effect

**URL:** <https://forum.kirupa.com/t/3d-spinning-images-merry-go-round-effect/244838>\
**Category:** flash\
**Created:** [November 22, 2007, 11:41am UTC](https://forum.kirupa.com/t/3d-spinning-images-merry-go-round-effect/244838 "2007-11-22T11:41:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andyd](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@andyd](https://forum.kirupa.com/u/andyd)\
**Post date:** [November 22, 2007, 11:41am UTC](https://forum.kirupa.com/t/3d-spinning-images-merry-go-round-effect/244838/1 "2007-11-22T11:41:13Z")

</div>

Hi

This is my first post and wanted to say what a great site, i found the above tutorial and wanted to know how i would go about adding different images to the panes instead of having the same image repeated.

Any advice/help would be great!

I’ve added the below bit of actionScript from the page that i think i have to alter but don’t know how to…

[COLOR=red]"// attach each pane in a loop and arrange them in a  
// circle based on the circumference of the circle  
// divided into steps  
angleStep = 2\*Math.PI/8;  
for (i=0; i\<8; i++){  
attachedObj = theScene.attachMovie(“pane”, “pane”+i, i);  
attachedObj.angle = angleStep \* i;  
attachedObj.radius = 100;  
attachedObj.x = Math.cos(attachedObj.angle) \* attachedObj.radius;  
attachedObj.z = Math.sin(attachedObj.angle) \* attachedObj.radius;  
attachedObj.y = 40;  
attachedObj.display = displayPane;  
objectsInScene.push(attachedObj);"[/COLOR]  
[COLOR=#ff0000][/COLOR]  
[COLOR=black]Thanks for your help[/COLOR]  
[COLOR=black][/COLOR]  
[COLOR=black]Andy[/COLOR]
