# Continuous movement

**URL:** <https://forum.kirupa.com/t/continuous-movement/19609>\
**Category:** Uncategorized\
**Created:** [April 29, 2003, 8:43pm UTC](https://forum.kirupa.com/t/continuous-movement/19609 "2003-04-29T20:43:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![monkeygirl](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@monkeygirl](https://forum.kirupa.com/u/monkeygirl)\
**Post date:** [April 29, 2003, 8:43pm UTC](https://forum.kirupa.com/t/continuous-movement/19609/1 "2003-04-29T20:43:07Z")

</div>

hello everybody,  
i went through the continuous movement tutorial, and everything seemed to work out fine…

i’m wondering if anybody can tell me how to make the same movement (i.e. continuous movement in one direction) w/o the easing…b/c right now, as the cursor is placed further away, the objects being animated become bigger in size…for my purposes i would like to just have the objects move across the stage w/o any changes in size.

I know this can be done by tweening, but I’d like to know how to do it w/ actionscript. 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:** [April 30, 2003, 1:20am UTC](https://forum.kirupa.com/t/continuous-movement/19609/2 "2003-04-30T01:20:05Z")

</div>

just take out this AS from the MCs :  
[AS] this.\_xscale = 40+\_root.\_ymouse;  
this.\_yscale = 40+\_root.\_ymouse;[/AS]  
this part of the script controls the size / scale of the MCs

hope that helped 🙂

---

<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:** [April 30, 2003, 1:33am UTC](https://forum.kirupa.com/t/continuous-movement/19609/3 "2003-04-30T01:33:15Z")

</div>

hi ~ thanks for your reply.  
i tried it, but it doesn’t work…if i take out that part of the script, then it says there’s an error and the objects don’t move…  
any thoughts? thanx!

---

<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:** [April 30, 2003, 1:49am UTC](https://forum.kirupa.com/t/continuous-movement/19609/4 "2003-04-30T01:49:26Z")

</div>

whats the error message?

---

<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:** [April 30, 2003, 3:02am UTC](https://forum.kirupa.com/t/continuous-movement/19609/5 "2003-04-30T03:02:01Z")

</div>

the msg is in an “output” pop-up:  
Symbol=clouds2\_mc, Layer=Layer 1, Frame=1: Line 1: Statement block must be terminated by ‘}’  
onClipEvent (enterFrame) {

Symbol=clouds2\_mc, Layer=Layer 1, Frame=1: Line 11: Syntax error.

---

<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:** [April 30, 2003, 4:27pm UTC](https://forum.kirupa.com/t/continuous-movement/19609/6 "2003-04-30T16:27:43Z")

</div>

anyone??? it seems like it should be ridiculously simple, but i can’t figure it out…

---

<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:** [April 30, 2003, 5:02pm UTC](https://forum.kirupa.com/t/continuous-movement/19609/7 "2003-04-30T17:02:19Z")

</div>

just what it says.  
you’ve missed out a curly bracket ( } ) at the end of the statement.

---

<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:** [April 30, 2003, 5:10pm UTC](https://forum.kirupa.com/t/continuous-movement/19609/8 "2003-04-30T17:10:25Z")

</div>

DOH! hahaha…i feel so dumb now!  
anyway, sure enough it worked.  
much thanx 2 everyone who offered their help! =D
