# Carousel style .. but arrow or button activates the rotation without using papervisio

**URL:** <https://forum.kirupa.com/t/carousel-style-but-arrow-or-button-activates-the-rotation-without-using-papervisio/263915>\
**Category:** flash\
**Created:** [June 20, 2008, 12:58pm UTC](https://forum.kirupa.com/t/carousel-style-but-arrow-or-button-activates-the-rotation-without-using-papervisio/263915 "2008-06-20T12:58:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mediashock](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Mediashock](https://forum.kirupa.com/u/Mediashock)\
**Post date:** [June 20, 2008, 12:58pm UTC](https://forum.kirupa.com/t/carousel-style-but-arrow-or-button-activates-the-rotation-without-using-papervisio/263915/1 "2008-06-20T12:58:26Z")

</div>

I would like to have a carousel style menu that is activated by a next\> button but not using papervision. In papervision i can just rotate the camera around the objects that are aligned in circular array. but without papervision i cant rotate a camera, i have to adjust the position of each object … i am struggling with this… anyone has an example or anything?

I can rotate the objects using enterframe method and calling this function, but how can i rotate only 30 degress or set ammount of degress across all objects…

```auto

	function spinner(e:Event):void{
		e.target.x = Math.cos(e.target.angle)* radiusX + centerX;
		e.target.y = Math.sin(e.target.angle)* radiusY + centerY;
		e.target.angle += speed;
	}

```

---

<div class="post-metadata">

**Author:** ![Mediashock](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Mediashock](https://forum.kirupa.com/u/Mediashock)\
**Post date:** [June 20, 2008, 6:33pm UTC](https://forum.kirupa.com/t/carousel-style-but-arrow-or-button-activates-the-rotation-without-using-papervisio/263915/2 "2008-06-20T18:33:37Z")

</div>

anyone?
