# Moving w/o tweening

**URL:** <https://forum.kirupa.com/t/moving-w-o-tweening/35078>\
**Category:** Uncategorized\
**Created:** [November 10, 2003, 11:06am UTC](https://forum.kirupa.com/t/moving-w-o-tweening/35078 "2003-11-10T11:06:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![goodsinner](https://avatars.discourse-cdn.com/v4/letter/g/f0a364/32.png) [@goodsinner](https://forum.kirupa.com/u/goodsinner)\
**Post date:** [November 10, 2003, 11:06am UTC](https://forum.kirupa.com/t/moving-w-o-tweening/35078/1 "2003-11-10T11:06:57Z")

</div>

Does anyone know how to make the objects in your flash move without tweening? example, I have 2 retangles and I want the 1st rectangle to move left and bounce at the edge of the scene. and the 2nd rectangle move to the same direction but not the same speed.

rectangles are: rectangle1 and rectangle2

---

<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:** [November 10, 2003, 11:25am UTC](https://forum.kirupa.com/t/moving-w-o-tweening/35078/2 "2003-11-10T11:25:31Z")

</div>

this.\_x++

try looking up collision tutorial

Basically you got to work in Cartesian space.

set your direction + or - 1 left or right x coordinates  
set your direction + or - 1 down or up y coordinates

use a “if this.\_x \> #boundry#” then

change x or y direction. (Multiply by -1)

If you put this into the movie cip that is moving it kinda control itself and you can have multiple clips

---

<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:** [November 10, 2003, 11:30am UTC](https://forum.kirupa.com/t/moving-w-o-tweening/35078/3 "2003-11-10T11:30:59Z")

</div>

You’ll find an example here: [http://www.kirupa.com/developer/mx/continuousmovement.htm](http://www.kirupa.com/developer/mx/continuousmovement.htm)

---

<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:** [November 10, 2003, 11:33am UTC](https://forum.kirupa.com/t/moving-w-o-tweening/35078/4 "2003-11-10T11:33:42Z")

</div>

Yeah thats what I meant, exactly what he said!
