# Returning

**URL:** <https://forum.kirupa.com/t/returning/110347>\
**Category:** Uncategorized\
**Created:** [May 14, 2004, 9:50pm UTC](https://forum.kirupa.com/t/returning/110347 "2004-05-14T21:50:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ANIMAL](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@ANIMAL](https://forum.kirupa.com/u/ANIMAL)\
**Post date:** [May 14, 2004, 9:50pm UTC](https://forum.kirupa.com/t/returning/110347/1 "2004-05-14T21:50:26Z")

</div>

Hello.

I have a gradient that i am moving across using action script.

This is my code:

```auto

onClipEvent(enterFrame) {
	speed = 10;
	this._x += speed;
}

```

My movie is 800px (width) by 100px (height)

Basically what i want is the gradient to move along and at the same time return to the begining as it rolls of the edge. I would prefer to do this with 1 symbol. However i could use two if needed

Thanks
