Need help with "Creating Continuous Movement"

hey i tried out the “Creating Continuous Movement” tutorial and there’s a problem. Each time my I roll my mouse to the far right end the dot kinda dissapear into the thing air and never came back out again. What is wrong with the animation huh? :link:

well if you followed the tutorial wrong, i’m not sure what could be wrong. I think i needa take a look at your fla if thats possible…

oh okay sure!! thanks for helping! hey by the way how do i send you the file?

try this??

instead of these lines:

if (this, hitTest(_root.block)) {
	this._x = -1000;
} else {
	this._x = location+i++;
}

use something like this:

if (this._x>300) {
	this._x = -1000;
} else {
	this._x = location+i++;
}

:wink: =)