# Help on 3d swiveling effect

**URL:** <https://forum.kirupa.com/t/help-on-3d-swiveling-effect/105846>\
**Category:** Uncategorized\
**Created:** [March 30, 2004, 9:12am UTC](https://forum.kirupa.com/t/help-on-3d-swiveling-effect/105846 "2004-03-30T09:12:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanna77](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@kanna77](https://forum.kirupa.com/u/kanna77)\
**Post date:** [March 30, 2004, 9:12am UTC](https://forum.kirupa.com/t/help-on-3d-swiveling-effect/105846/1 "2004-03-30T09:12:04Z")

</div>

hi there

[http://www.kirupa.com/developer/act...era\_panning.htm](http://www.kirupa.com/developer/act...era_panning.htm)

i am kindda new to action scripting,its exactly what i want but i cant seem to replicate … or should i say get more images to load into the spinning swivel thinggy …  
its picking up the same image.

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);

anyone here would know how to change this to pick up more then 1 image lets say about 4 images. Thank you , it would be great if you could help me out here.
