# Question about making an object rotate

**URL:** https://forum.kirupa.com/t/question-about-making-an-object-rotate/8939
**Category:** flash
**Created:** [December 1, 2002, 5:44pm UTC](https://forum.kirupa.com/t/question-about-making-an-object-rotate/8939 "2002-12-01T17:44:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![evader](https://avatars.discourse-cdn.com/v4/letter/e/e9a140/32.png) [@evader](https://forum.kirupa.com/u/evader)
#### Post date: [December 1, 2002, 5:44pm UTC](https://forum.kirupa.com/t/question-about-making-an-object-rotate/8939/1 "2002-12-01T17:44:14Z")

</div>

I have an image of a planet (globe) and was wondering how I would go about making it spin around like a globe does?

Can someone point me to a tutorial for that or explain to me how to do it?

Thanks

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [December 1, 2002, 6:05pm UTC](https://forum.kirupa.com/t/question-about-making-an-object-rotate/8939/2 "2002-12-01T18:05:37Z")

</div>

Make that globe a movie clip instance. Click once on the globe movie clip to make it selected and open the actions panel. Type this code in:

```php
onClipEvent(enterFrame) {
     this._rotation += 5;
}

```

The higher your FPS the faster this will go. But you can also just make 5 a higher number.
