# Continuous Movement Tutorial

**URL:** <https://forum.kirupa.com/t/continuous-movement-tutorial/21299>\
**Category:** flash\
**Created:** [May 20, 2003, 2:21am UTC](https://forum.kirupa.com/t/continuous-movement-tutorial/21299 "2003-05-20T02:21:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephcraw](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@stephcraw](https://forum.kirupa.com/u/stephcraw)\
**Post date:** [May 20, 2003, 2:21am UTC](https://forum.kirupa.com/t/continuous-movement-tutorial/21299/1 "2003-05-20T02:21:16Z")

</div>

Concerning the continuous movement tutorial, i was wondering in the actionscript whether or not there was a way to make it so that the circles are always the same size and move at the same speed and cannot be changed by moving the mouse around.  
I read the page on what each line of the actionscript says, but I am not literate enough with it yet to know what I should, or even if it is possible to, change.

Thanks,  
Steve

---

<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:** [May 20, 2003, 2:37am UTC](https://forum.kirupa.com/t/continuous-movement-tutorial/21299/2 "2003-05-20T02:37:54Z")

</div>

welcome, stephcraw. 😉

```auto
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.block)) {
this._x = -1000;
} else {
this._x += speed;
}
}

```

is that what you wanted? =)

---

<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:** [May 20, 2003, 6:40pm UTC](https://forum.kirupa.com/t/continuous-movement-tutorial/21299/3 "2003-05-20T18:40:47Z")

</div>

This is exactly what I wanted. Thanks a million 🙂

---

<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:** [May 20, 2003, 10:11pm UTC](https://forum.kirupa.com/t/continuous-movement-tutorial/21299/4 "2003-05-20T22:11:16Z")

</div>

no problem. 😉
