# Rotating an object automatically on click

**URL:** <https://forum.kirupa.com/t/rotating-an-object-automatically-on-click/90169>\
**Category:** flash\
**Created:** [May 15, 2005, 3:23pm UTC](https://forum.kirupa.com/t/rotating-an-object-automatically-on-click/90169 "2005-05-15T15:23:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oli\_G](https://avatars.discourse-cdn.com/v4/letter/o/f05b48/32.png) [@Oli\_G](https://forum.kirupa.com/u/Oli_G)\
**Post date:** [May 15, 2005, 3:23pm UTC](https://forum.kirupa.com/t/rotating-an-object-automatically-on-click/90169/1 "2005-05-15T15:23:35Z")

</div>

Hi all

Given up on the other thread, others tell me its gonna be quite a bit of hassle!

What I want to do is as follows; I want a vinyl record on the stage to begin slowly rotating, until it hits full speed, on a mouse click.

All automatic.

I imagine this will involve adding a speed number to a basic rotation script. When it hits a certain speed, I want an event to be triggered.

Anyone have an idea on how I might go about this?

Cheers!
