onClipEvent (enterFrame) { if (this._y<=50) { valor = 1; } if (this._y>150) { valor = -1; } this._y += 5*valor; }