Moving w/o tweening

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

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

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

Yeah thats what I meant, exactly what he said!