# Rotation Around A Common Center onEnterFrame question

**URL:** <https://forum.kirupa.com/t/rotation-around-a-common-center-onenterframe-question/255707>\
**Category:** flash\
**Created:** [March 26, 2008, 3:51am UTC](https://forum.kirupa.com/t/rotation-around-a-common-center-onenterframe-question/255707 "2008-03-26T03:51:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![angaturama](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@angaturama](https://forum.kirupa.com/u/angaturama)\
**Post date:** [March 26, 2008, 3:51am UTC](https://forum.kirupa.com/t/rotation-around-a-common-center-onenterframe-question/255707/1 "2008-03-26T03:51:59Z")

</div>

Hi

[http://www.kirupa.com/developer/actionscript/rotation\_center.htm](http://www.kirupa.com/developer/actionscript/rotation_center.htm)  
I’m using this code i made some changes like changing the array for a xml.  
In some part i put a button to stop the movement and i used

```auto
delete theScene.onEnterFrame

```

and it works perfectly, but then i want to return with another button to the movement. and i can’t make it work

i tried

```auto
theScene.onEnterFrame
this.onEnterFrame

```

i hope someone could give me a hint on this.

thanks in advance  
David Carrizosa
