# Help in Rotating object!

**URL:** https://forum.kirupa.com/t/help-in-rotating-object/187628
**Category:** flash
**Created:** [May 1, 2006, 3:21am UTC](https://forum.kirupa.com/t/help-in-rotating-object/187628 "2006-05-01T03:21:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![shazzy](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@shazzy](https://forum.kirupa.com/u/shazzy)
#### Post date: [May 1, 2006, 3:21am UTC](https://forum.kirupa.com/t/help-in-rotating-object/187628/1 "2006-05-01T03:21:58Z")

</div>

Hi…i have just began doing a flash website and m really bad at it. I wanted to know if there is anyone who knows a simple code that can rotate an object continuously! I have drawn the object and grouped and now need it to rotate!

…i came across this code but doesnt seem to work…onClipEvent (load) {  
i = getProperty(this,\_rotation);  
setProperty(this,\_rotation,i + 1);  
}…Can someone help!

shaz.

---

<div class="post-metadata">

### Author: ![mngBJ](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@mngBJ](https://forum.kirupa.com/u/mngBJ)
#### Post date: [May 1, 2006, 3:53am UTC](https://forum.kirupa.com/t/help-in-rotating-object/187628/2 "2006-05-01T03:53:57Z")

</div>

onClipEvent (load) change to onClipEvent (enterFrame)
