# Carousel help

**URL:** https://forum.kirupa.com/t/carousel-help/314611
**Category:** Uncategorized
**Created:** [October 4, 2010, 9:54am UTC](https://forum.kirupa.com/t/carousel-help/314611 "2010-10-04T09:54:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Pafke](https://avatars.discourse-cdn.com/v4/letter/p/5fc32e/32.png) [@Pafke](https://forum.kirupa.com/u/Pafke)
#### Post date: [October 4, 2010, 9:54am UTC](https://forum.kirupa.com/t/carousel-help/314611/1 "2010-10-04T09:54:46Z")

</div>

Hi,  
I’m currently working on a project that uses carousel. I’m using number 057 from flashmo (not sure if I’m allowed to link or not). Got it working howit want it to work now, but I would like to place a logo in the middle of the carousel.

So the items will be circleing arround the logo.

Does anyone have an idea on how to achieve this?

greetings,  
Pafke

This is all the AS I’m using btw:

stop();  
var folder:String = “thumbnails/”; // a folder for thumbnail files + an XML file  
var total:Number;  
var radiusX:Number = 310;  
var radiusY:Number = 40;  
var centerX:Number = 380;  
var centerY:Number = 120;  
var speed:Number = 0.005;  
tn\_group\_mc.\_visible = false;  
fm\_label.text = “”; fm\_url.text = “”;

var xml:XML = new XML();  
xml.ignoreWhite = true;

xml.onLoad = function()  
{  
var nodes = this.firstChild.childNodes;  
total = nodes.length;

for( var i=0; i \< total; i++)  
{  
var t = tn\_group\_mc.duplicateMovieClip(“tn”+i, i);  
t.angle = i \* ((Math.PI_2)/total);  
t.onEnterFrame = mover;  
t.tn\_mc.inner.loadMovie( folder + nodes_.attributes.filename );  
t.tn\_reflection\_mc.inner.loadMovie( folder + nodes\*.attributes.filename );  
t.fm\_label = nodes\*.attributes.label;  
t.fm\_url = nodes\*.attributes.url;

t.fm\_button.onRollOver = function()  
{  
fm\_label.text = "Title: " + this.\_parent.fm\_label;  
fm\_url.text = "URL: " + this.\_parent.fm\_url;  
}  
t.fm\_button.onRollOut = function()  
{  
fm\_label.text = “”;  
fm\_url.text = “”;  
}  
t.fm\_button.onRelease = function()  
{  
getURL(this.\_parent.fm\_url);  
}  
}  
}  
xml.load( folder + “flashmo\_thumbnails.xml”);

function mover()  
{  
this.\_x = Math.cos(this.angle) \* radiusX + centerX;  
this.\_y = Math.sin(this.angle) \* radiusY + centerY;  
var s = this.\_y /(centerY+radiusY);  
this.\_xscale = this.\_yscale = s\*100;  
this.angle += this.\_parent.speed;  
this.swapDepths(Math.round(this.\_xscale) + 100);  
}  
this.onMouseMove = function()  
{  
speed = (this.\_xmouse-centerX) \* 0.0001;  
}
