# I manna make an object trail

**URL:** <https://forum.kirupa.com/t/i-manna-make-an-object-trail/120116>\
**Category:** Uncategorized\
**Created:** [August 20, 2004, 8:49pm UTC](https://forum.kirupa.com/t/i-manna-make-an-object-trail/120116 "2004-08-20T20:49:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![uber1](https://avatars.discourse-cdn.com/v4/letter/u/779978/32.png) [@uber1](https://forum.kirupa.com/u/uber1)\
**Post date:** [August 20, 2004, 8:49pm UTC](https://forum.kirupa.com/t/i-manna-make-an-object-trail/120116/1 "2004-08-20T20:49:20Z")

</div>

i wanna make an object ease after another object that is easing… like a motion trail…

but the objects just go to the corner of the screen…and won’t ease after each other… any help?

---

<div class="post-metadata">

**Author:** ![FlashPlaya](https://avatars.discourse-cdn.com/v4/letter/f/e274bd/32.png) [@FlashPlaya](https://forum.kirupa.com/u/FlashPlaya)\
**Post date:** [August 21, 2004, 4:19am UTC](https://forum.kirupa.com/t/i-manna-make-an-object-trail/120116/2 "2004-08-21T04:19:05Z")

</div>

What do you mean?? with actionscript? You can have your motion on a layer, then dup the layer, and just move the the time over alittle that look like a trail.  
I can make a real quick example.

---

<div class="post-metadata">

**Author:** ![FlashPlaya](https://avatars.discourse-cdn.com/v4/letter/f/e274bd/32.png) [@FlashPlaya](https://forum.kirupa.com/u/FlashPlaya)\
**Post date:** [August 21, 2004, 4:24am UTC](https://forum.kirupa.com/t/i-manna-make-an-object-trail/120116/3 "2004-08-21T04:24:19Z")

</div>

Hey ubermensch\_ver2,

I think this might help, maybe??? here is something that I put together real quick;)

---

<div class="post-metadata">

**Author:** ![FlashPlaya](https://avatars.discourse-cdn.com/v4/letter/f/e274bd/32.png) [@FlashPlaya](https://forum.kirupa.com/u/FlashPlaya)\
**Post date:** [August 21, 2004, 4:28am UTC](https://forum.kirupa.com/t/i-manna-make-an-object-trail/120116/4 "2004-08-21T04:28:24Z")

</div>

there is also the thread [http://www.kirupaforum.com/forums/showthread.php?t=65908&highlight=golden](http://www.kirupaforum.com/forums/showthread.php?t=65908&highlight=golden)

it is really good for actionscript movement!!!

---

<div class="post-metadata">

**Author:** ![uber1](https://avatars.discourse-cdn.com/v4/letter/u/779978/32.png) [@uber1](https://forum.kirupa.com/u/uber1)\
**Post date:** [August 21, 2004, 6:42am UTC](https://forum.kirupa.com/t/i-manna-make-an-object-trail/120116/5 "2004-08-21T06:42:54Z")

</div>

i want like a motion trail

---

<div class="post-metadata">

**Author:** ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)\
**Post date:** [August 21, 2004, 7:47am UTC](https://forum.kirupa.com/t/i-manna-make-an-object-trail/120116/6 "2004-08-21T07:47:52Z")

</div>

> [@ubermensch\_ver2](#):
>
> i want like a motion trail

I`m not entirely clear what you want, see if this is of any use.

---

<div class="post-metadata">

**Author:** ![uber1](https://avatars.discourse-cdn.com/v4/letter/u/779978/32.png) [@uber1](https://forum.kirupa.com/u/uber1)\
**Post date:** [August 21, 2004, 8:24am UTC](https://forum.kirupa.com/t/i-manna-make-an-object-trail/120116/7 "2004-08-21T08:24:41Z")

</div>

sorry for not being precise on this post… um… i want to have a movieclip move by animation and have several action scripted movie clips follow its path… like a motion trail…

---

<div class="post-metadata">

**Author:** ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)\
**Post date:** [August 21, 2004, 8:35am UTC](https://forum.kirupa.com/t/i-manna-make-an-object-trail/120116/8 "2004-08-21T08:35:53Z")

</div>

> [@ubermensch\_ver2](#):
>
> sorry for not being precise on this post… um… i want to have a movieclip move by animation and have several action scripted movie clips follow its path… like a motion trail…

something like this?

---

<div class="post-metadata">

**Author:** ![Voetsjoeba](https://avatars.discourse-cdn.com/v4/letter/v/ac91a4/32.png) [@Voetsjoeba](https://forum.kirupa.com/u/Voetsjoeba)\
**Post date:** [August 21, 2004, 9:08am UTC](https://forum.kirupa.com/t/i-manna-make-an-object-trail/120116/9 "2004-08-21T09:08:58Z")

</div>

Like this ?

```auto

balls = 15;
MovieClip.prototype.drawCircle = function(o) {
	this.lineStyle(20, o << 16, 100);
	this.lineTo(.45, .15);
};
MovieClip.prototype.follow = function(mc) {
	this.onEnterFrame = function() {
		tx = mc._x;
		ty = mc._y;
		this._x = tx-(tx-this._x)/1.5;
		this._y = ty-(ty-this._y)/1.5;
		if (Math.abs(tx-this._x)<1 && Math.abs(ty-this._y)<1) {
			this._x = tx;
			this._y = ty;
		}
	};
};
for (i = 0; i<balls; i++) {
	mc = this.createEmptyMovieClip("ball"+i, i+1);
	mc.drawCircle(i*balls);
	if (!i) {
		mc.onEnterFrame = function() {
			this._x = _root._xmouse;
			this._y = _root._ymouse;
		};
	} else {
		mc.follow(this["ball"+(i-1)]);
	}
}

```

---

<div class="post-metadata">

**Author:** ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)\
**Post date:** [August 21, 2004, 9:36am UTC](https://forum.kirupa.com/t/i-manna-make-an-object-trail/120116/10 "2004-08-21T09:36:02Z")

</div>

last try

---

<div class="post-metadata">

**Author:** ![ViNc3](https://avatars.discourse-cdn.com/v4/letter/v/b487fb/32.png) [@ViNc3](https://forum.kirupa.com/u/ViNc3)\
**Post date:** [August 21, 2004, 10:22am UTC](https://forum.kirupa.com/t/i-manna-make-an-object-trail/120116/11 "2004-08-21T10:22:48Z")

</div>

that’s cool
