Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Creating Trails


i have a movie clip following a guide, how can i make it leave trails as it move along the guide?????




FlashKit > Flash Help > Flash ActionScript
Posted on: 01-12-2002, 06:18 PM


View Complete Forum Thread with Replies

Sponsored Links:

Creating Trails
i have a movie clip following a guide, how can i make it leave trails as it move along the guide?????

View Replies !    View Related
Creating Trails
Hi, I'd like to create a trail that follows a bouncing ball while its moving. The trail should stay visbible so that the path of where the ball has been is visible. Any suggestions about how I can make this happen? Any help would be much appreciated.

Thanks, juls034

View Replies !    View Related
Help Needed With Creating Trails
Hi everyone

I am new to the whole actionscript thing and have been learning as I go along.

I am trying to make a animated ball that goes round a path, but that leaves trails behind it.

I have managed to get most of it right, but after the animation plays for a few seconds it seems to slow down badly. I think it is not removing the duplicate movie clips!

Could someone have a look at the file and see if they can find a solution for me?

Your help would be greatly appreciated

g

View Replies !    View Related
Help Needed With Creating Trails
Hi everyone

I am new to the whole actionscript thing and have been learning as I go along.

I am trying to make a animated ball that goes round a path, but that leaves trails behind it.

I have managed to get most of it right, but after the animation plays for a few seconds it seems to slow down badly. I think it is not removing the duplicate movie clips!

Could someone have a look at the file and see if they can find a solution for me?

Your help would be greatly appreciated

g

View Replies !    View Related
Trails
can anyone plz tell me how do i make my text leav trails?...i mean fading trails like in this intro:
http://www.rabiddogsoofhell.com
tnx

View Replies !    View Related
Trails
im having trouble finding a tutorial for something that makes a mouse trail like where a trail of mcs follow eachother. ive found one for making an mc follow the mouse but none for a trail. can anyone help? even one for making one mc follow another would be good.
thanks
mavrisa

View Replies !    View Related
[F8] Trails?
At the moment on the player in my new game I have a trail of hexagons following him. To get this effect I've exploited flash's slowness by doing this.

http://evocannon.freeweb7.com/

For the line:

PHP Code:




function onEnterFrame() {
    createEmptyMovieClip("line_trail",1);
    line_trail.lineStyle(1,0xcccccc,100);
    line_trail.moveTo(_root.user._x,_root.user._y);
    line_trail.lineTo(this.trail_1._x,this.trail_1._y);
    line_trail.lineTo(this.trail_2._x,this.trail_2._y);
    line_trail.lineTo(this.trail_3._x,this.trail_3._y);
    line_trail.lineTo(this.trail_4._x,this.trail_4._y);
    line_trail.lineTo(this.trail_5._x,this.trail_5._y);
    line_trail.lineTo(this.trail_6._x,this.trail_6._y);
}







On each of the Hexagon MCs:
Hex1

PHP Code:




onClipEvent(enterFrame){
    this._x = _root.user._x
    this._y = _root.user._y
}






Hex2

PHP Code:




onClipEvent(enterFrame){
    this._x = _root.trail_1._x
    this._y = _root.trail_1._y
}






Hex3

PHP Code:




onClipEvent(enterFrame){
    this._x = _root.trail_2._x
    this._y = _root.trail_2._y
}






Hex4

PHP Code:




onClipEvent(enterFrame){
    this._x = _root.trail_3._x
    this._y = _root.trail_3._y
}






Hex5

PHP Code:




onClipEvent(enterFrame){
    this._x = _root.trail_4._x
    this._y = _root.trail_4._y
}






Hex6

PHP Code:




onClipEvent(enterFrame){
    this._x = _root.trail_5._x
    this._y = _root.trail_5._y
}







Is there a better more efficent way to get the same desired effect?

View Replies !    View Related
Trails
Hi, I'm trying to make an actionScripted animation that resembels a data grid.
Right now I've already created the grid and what I call "Grid Monkeys" which are little circles that travel the grid. Now I want them to leave a trail as they move. How can I integrate that into my code.

Here is my creation code:

ActionScript Code:
function createMonkey(M) {    var Max = M;    for (var i = 0; i<M; i++) {        Total++;        linePick = randomRange(0, yMax);        // 0-500        var m = _root.attachMovie("probe", "probe"+Total, Total, {_x:xMax, _y:linePick});        m.onEnterFrame = Move;    }}randomRange = function (min, max) {    return Math.floor(Math.random()*(max-min+1))+min;};function Move() {    if (this.Decide<=0) {        this.dirPick = randomRange(1, 8);        this.Decide = randomRange(1, 50);    } else {        this.Decide -= 1;    }    if (this.dirPick == 1) {        this.Dir = "Up";        this.xSpeed = 0;        this.ySpeed = -2;    } else if (this.dirPick == 2) {        this.Dir = "Down";        this.xSpeed = 0;        this.ySpeed = 2;    } else if (this.dirPick == randomRange(3, 10)) {        this.Dir = "Left";        this.xSpeed = 2;        this.ySpeed = 0;    }    this._x -= this.xSpeed;    this._y += this.ySpeed;    //createTrail    //this.attachMovie("trail", "Trail"+i, this.getNextHighestDepth(), {_x:this._x+3, _y:this._y+4});}

View Replies !    View Related
Slider With Trails
My current project is of a basic slider that slides it's x positon by chasing a marker. I think it would be cool if the slider had an onion skin effect when it moves. (trails behind it when it moves) The thing is I'm not sure how to go about doing and array of duplicating the slider so it gets this effect.

slider code:------------
onClipEvent(enterFrame){
slider = getProperty ("_root.slider",_x);
marker = getProperty ("_root.marker",_x);
dif1x = marker - slider;
step1 = dif1x / 3;
setProperty ("_root.slider", _x, slider + step1);
}
------------------

Thanks ahead of time for any help or suggestions.
jahü

View Replies !    View Related
Mouse Trails
I am looking for action scripts for basic mouse trails in Flash 5. Thanks in advance!

View Replies !    View Related
Mouse Trails
how do i get mouse trails to function only in one scene and not have ghosting happening in following scenes



[Edited by enayeeneh on 02-18-2002 at 05:17 AM]

View Replies !    View Related
Trails..echo..?
hi,
Is there any way to achieve an effect similar to trails in director or echo in after effects?
I want to make a stream of images following in the path of the moving image.
Any ideas?

katy

View Replies !    View Related
Image Trails
Hi I was wondering if anyone could help me.

On a few movies I have seen, I have noticed trails being added to images as they move around the screen and I was wondering how the this effect is achieved.

If anyone can help enlighten me or direct me to a tutorial so I can learn my self then I would be really grateful

View Replies !    View Related
Mouse Trails Mx
okay, i looked for a tutorial to create mouse trails in flashMX but the only two they have suck butt... so can anyone help me by giving me a better one or just showing me some code and give me a few directions? thanks!

View Replies !    View Related
Mouse Trails
This topic as come up a lot i know, but after searching the forum I have found nothing which as helped me too much!

How do i modify the movies off the site on here, I have downloaded a movie of a mouse trailer with a fish. The fish follows the mouse all over the screen.

the scipting is very good, but i want to play with the actual image of the fish!

any info on how to do this would be great!

cheers

View Replies !    View Related
Mouse Trails
hi Ya,

Can someone help?

i am putting together a website that uses butterflies as its logo, i have seen on other sites that you can have mouse trails following your mouse. I would like to have some small animated butterflies coming from the mouse trail.

How do i do this???

View Replies !    View Related
Mouse Trails
hi Ya,

Can someone help?

i am putting together a website that uses butterflies as its logo, i have seen on other sites that you can have mouse trails following your mouse. I would like to have some small animated butterflies coming from the mouse trail.

How do i do this???

View Replies !    View Related
Mouse Trails
hi Ya,

Can someone help?

i am putting together a website that uses butterflies as its logo, i have seen on other sites that you can have mouse trails following your mouse. I would like to have some small animated butterflies coming from the mouse trail.

How do i do this???

View Replies !    View Related
Motion Trails
Hi all,

I have a mc array of a few text clips in the library. They are attached to the holder with script, tween _x, fade out, then load the next one and repeat. I would like to have motion trails on the text mc's. I have searched and I can't find one that is similar to what I'm trying to do. Any one know how to do this or a good place to find a tutorial?

Thanks..

View Replies !    View Related
Mouse Trails
can any one tell me how to get a mouse trailer in flash? I want just a simple object that has 20 or so duplicates that travel in a line behind the mouse. how would i go about this?

View Replies !    View Related
Motion Trails
I've done many searches to find a tutorial on how to create motion trails but can't find what I'm looking for. I'm being asked to create a flash banner that is similar to the example linked below. I will have horizontal text and the client wants motion trails to go around it, possibly even colliding. I've tried different tutorials but am running out of time. Can anyone point me in the right direction to creating or buying this effect?

The example is the logo found on the left of the website.

http://www.themillionairegallery.com/

Thank You!

View Replies !    View Related
Line Trails
Hi. I am trying to make a line trail appear behind a symbol which is traveling along a motion guide. Originally I tried to just put in a bunch of keyframes and erase backwards, but that took up too much space. So, then I figured I could do it with a mask but I am not sure how. I want the mask to reveal the path of the motion guide as it goes. I am not sure how to do the mask for that. Thanks for the help.

View Replies !    View Related
Brownian Trails
[swf=http://www.kirupa.com/forum/attachment.php?attachmentid=12337&stc=1] height=240 width=320[/swf]

I was wondering what combining Brownian Motion and Trails would create. Turned out pretty nice.

Enjoy

-L

View Replies !    View Related
Trails With Rotation In AS
In my movie i have a part where i want a sword to have a trail following it. I got the trail to work using actionscript and duplicating the movie. But when i make a tween and rotate it half way, the movie screws up, and will just have the sword stop. How do i get this to work using actionscript. I want the sword to rotate by 90 degrees while still having its fading trail.

View Replies !    View Related
Line Trails
Hi. I am trying to make a line trail appear behind a symbol which is traveling along a motion guide. Originally I tried to just put in a bunch of keyframes and erase backwards, but that took up too much space. So, then I figured I could do it with a mask but I am not sure how. I want the mask to reveal the path of the motion guide as it goes. I am not sure how to do the mask for that. Thanks for the help.

View Replies !    View Related
Brownian Trails
[swf=http://www.kirupa.com/forum/attachment.php?attachmentid=12337&stc=1] height=240 width=320[/swf]

I was wondering what combining Brownian Motion and Trails would create. Turned out pretty nice.

Enjoy

-L

View Replies !    View Related
Light Trails....
Does anyone know how to make light trails in flash? Like in Akira when the bikes sped away fomr the camera and they left a brief blaze of color from their tail lights?

View Replies !    View Related
Mouse Trails Within Boundaries
I have a mouse trail used in the top frame of a movie - the bottom frame is normal html. My question is this: is there a way to limit where the mouse trail effect takes place? (my top frame menu is of a curved design, and i only want the trail to work over the design and not in the entire frame).
I have already tried using a mask, but that didn't seem to work. Alternatively, if there's a way to make the trail disappear once the mouse cursor leaves the frame (so the trail isn't left dwindling on the screen), is there an easy way to do this?

Many thanks.

View Replies !    View Related
How Do You Leave Trails When You Animate
I've seen this done a few times now, how do I animate say text and have it leave faint trail marks that fade out?

View Replies !    View Related
Trails (duplicating/fading MC)
hello

a MC flies accross the screen, followed by fainter versions of it... kinda like a motion blur.

could you please let me know of the code.

would this work with a draggable movie clip the user can drag where ever... and the little trails catch up?

thank for your time

View Replies !    View Related
Pre Loaders And Mouse Trails
Hello!

I hope that someone can help me out. I downloaded a mouse trail from the movie section of this website and, from studying it and the related tutorial I am in the process of making my own. I have also made a pre-loader from the tutorial on this website but when I tried the mouse trail that I downloaded from this site (not the one I created myself) with the preloader it goes very funny and although one thing follows my mouse around the trail itself is doing its own thing in the bottom right hand corner of the screen, when I try the same trail in another scene of the same movie it is fine and when the pre loader is on its own it is fine. All help appreciated.

Thanks

Mary

View Replies !    View Related
How To Leave Trails In Flash
hey guys
im new to flash and i wanted to create an animation where for example an abject is moving from one place to another and there are trail like things being left behind but then dissapearing to show the effect where it moved to.
thx a lot.

i left an image so you see what i mean.
the dashed lines are just to show the path and the gray boxes are the trails though the black boxes and where i want it to b and where it goes.
(its attached)
id really appreciate it if anyone can help.
thx greatly

View Replies !    View Related
Quicktime Export Trails
Hey there! I have three four minute cartoons due tomorrow for a sizable network, and they want 'em in quicktime (I thought I was to deliver in Flash). Anyways, the cartoons are fairly complex, with movies within movies and such. They're simply huge productions. Now, I'm exporting, using the Animation quicktime setting, millions of colors, 2 pass encode, and I've tried keyframing every 7 frames and every frame. Either way, I'm getting a lot of trails, and it just doesn't look so great.
My 'toons are 24 fps, Flash CS3, Actionscript 2.0
Thanks for any advice you have, it really will be appreciated.

Gordon

View Replies !    View Related
Lost In Mouse Trails
I'm trying to do mouse trails in Flash MX, but having some problems. Tutorials are a little unclear. Do you first place your image or text on the main timeline and then actionscript or do you create a movie button, script that and drag onto stage? Anyone with instructions on how to create a mouse trail please help! Thanks.

View Replies !    View Related
Mouse Trails With FlashMx
Hello All,

Trying to figure out why the mouse trail code works fine in Netscape, but does not respond well in IE.
My objective is to create a transparent movie clip for my webpage.
In IE, the object or text I want to use, only moves in one direction. Changing the speed does not help.
I have used the following codes from the links below, to no avail using Internet Explorer(only).

http://www.kirupa.com/developer/mx/mousetrailer.htm
http://www.kirupa.com/developer/mx/followease.htm

When I follow these links the examples shown work fine using both web browsers.

Thanks for your help in advance.

View Replies !    View Related
Fading Trails On Images
Hi, I have one point in my movie where a sword is moving across the screen. I would like to make the sword have a fading trail that follows it, how do i do this? I want to do it the right way too, not just cpoying the image and putting an alpha on it and having it follow the main sword. Is there a real way to do this?

View Replies !    View Related
Help Needed With Leaving Trails
Hi everyone

I am new to the whole actionscript thing and have been learning as I go along.

I am trying to make a animated ball that goes round a path, but that leaves trails behind it.

I have managed to get most of it right, but after the animation plays for a few seconds it seems to slow down badly. I think it is not removing the duplicate movie clips!

Could someone have a look at the file and see if they can find a solution for me?

Your help would be greatly appreciated

g

View Replies !    View Related
Mouse Trails On Command
I stumbled upon a tutorial from a few years back. It basically set up a rolling text mouse trail.
I altered it so I could start the mouse trail with a button, but have yet to figure out how to stop it.

Here is the code:


Code:
on (release){
Text = "It's a mouse trail!";
letters = Text.split("");
letterformat = new TextFormat();
letterformat.font = "Verdana";
letterformat.align = "center";
letterformat.size = "10";
spacing = 5;
speed = 3;
for (var LTR = 0; LTR<letters.length; LTR++) {
mc = _root.createEmptyMovieClip(LTR+"l", LTR);
mc.createTextField(letters[LTR]+"t", LTR, LTR*spacing, 10, 20, 20);
with (mc[letters[LTR]+"t"]) {
text = letters[LTR];
setTextFormat(letterformat);
selectable = false;
}
if (LTR) {
mc.prevClip = _root[(LTR-1)+"l"];
mc.onEnterFrame = function() {
this._x += (this.prevClip._x-this._x+5)/speed;
this._y += (this.prevClip._y-this._y)/speed;
};
} else {
mc.onEnterFrame = function() {
this._x += (_root._xmouse-this._x+10)/speed;
this._y += (_root._ymouse-this._y)/speed;
};
}
}
}
In the tutorial it mentions the 'for loop' in the code. Does this mean I can not stop it once it starts? I hope not. I'd really like to give the user an option for turning off the mouse trail if they find it obtrusive.

I'm not very.... experienced with complicated code such as this, so any help is greatly appreciated. Thank you.

View Replies !    View Related
Animated Mouse Trails (as 3)
Hi. I'm new to this site, so forgive me if I'm confusing in my request.

I have an assignment due next week and I'm trying to go 'above and beyond' by including a fancy mouse trail animation (a random drop of a movie clip that trails behind when you move the mouse). I have looked EVERYWHERE and I can only find information to do so on Actionscript 2, but I need to do it in 3. If anyone could help me out, I'd be VERY appreciative. Keep in mind this is a low level class so I have a basic understanding of what I'm doing but not that great.

My teacher has failed to go over using actionscript files, but I think I've figured it out... kinda... so if I need to do it that way, I can.

I wish I had some base coding to post, but everything I've been able to gather off the web hasn't even come close to working, so I'm just going to say I need to start from scratch. I have the site built, and I just need this trail!

Thanks!

View Replies !    View Related
Random Mouse Trails
I'm looking for a tutorial, or for the scripting to create a mouse trail that has random movement, but that follows the mouse - also i have seen one, ca't remeber where, that casts 'shadows' - any ideas?

thanks to kirupa for cool understandable site. I'm only recently becoming aware of the ease and power of flash.

View Replies !    View Related
Lost In Mouse Trails
I'm trying to do mouse trails in Flash MX, but having some problems. Tutorials are a little unclear. Do you first place your image or text on the main timeline and then actionscript or do you create a movie button, script that and drag onto stage? Anyone with instructions on how to create a mouse trail please help! Thanks.

View Replies !    View Related
Mouse Trails With FlashMx
Hello All,

Trying to figure out why the mouse trail code works fine in Netscape, but does not respond well in IE.
My objective is to create a transparent movie clip for my webpage.
In IE, the object or text I want to use, only moves in one direction. Changing the speed does not help.
I have used the following codes from the links below, to no avail using Internet Explorer(only).

http://www.kirupa.com/developer/mx/mousetrailer.htm
http://www.kirupa.com/developer/mx/followease.htm

When I follow these links the examples shown work fine using both web browsers.

Thanks for your help in advance.

View Replies !    View Related
Turning Mouse Trails Into Masks
If you look at the mouse trail on my banner you will see the rings come out from it. Two questions about tweeking this.

- How do you turn the make to trail so it is only on when the mouse is over the banner?
- I want to use the trail as a mask to uncover something, but the problem is I still want the trail to show up also. I turned the trail movie into a mask and it disapeared and It did not work as a mask either.

I used the absolute beginer tutorial to make the trail (the tutorial with the stars).

View Replies !    View Related
Leaving Trails Behind A Moving Object?
i just have an object on a motion path and want it to leave a solid trail of itself when it moves

any help would be great, my actionscript is pretty basic

cheers

View Replies !    View Related
Making Mouse Trails Work...
Hey guys!
I am having some major problems making this code work in Flash2004. Can someone please take a look at the file and help me out?

I can't get the smoke trails on frame 30 to work. the duplicated movie clips just dont want to go to the mouse for some reason...I've tried copying code that works from someone elses file, and that didn't work either. This is really starting to annoy me. If anyone has an answer, PLEASE tell me!

Cheers

Seb.

View Replies !    View Related
Cursor Trails, How The Hell Do They Work?
ok, i've been loads of places on this site, tried lots of different script from various posts, and still i get stupid errors messages!!! such as: Symbol=Ball, Layer=Layer 2, Frame=1: Line 1: Clip events are permitted only for movie clip instances...... what the hell does that mean?? i have very little know how when it comes to action script, it bores the hell out of me, but when you're doing somingthing like me you need to learn. Is there anyone out there willing to really show me how to make a smart looking cursor trail. and i mean in a complete idiot proof guide. I'm using Flash MX, i'd really appreciate this. thanks

View Replies !    View Related
[F8] How Is This Scripted? Organic Light Trails
Hi there,

I was wondering whether someone could point me in the right direction as to how to achieve the effect of the lightwave as featured on this site:
http://www.three.com/

I'm not really sure where to start or even how to describe it to start looking.

Cheers
Matt

View Replies !    View Related
How Did They Do This Action Scripts Mouse Trails
Hello All,

Can someone tell me if there is a way to get the action script used for the mouse trail, and the changing pictures effect on this web site? It is the only mouse action script that I have seen to work well in just about any web browser to date.

http://www.hormiguita.com.co


Thanks in advance!

View Replies !    View Related
How Did They Do This Action Scripts Mouse Trails
Hello All,

Can someone tell me if there is a way to get the action script used for the mouse trail, and the changing pictures effect on this web site? It is the only mouse action script that I have seen to work well in just about any web browser to date.

http://www.hormiguita.com.co


Thanks in advance!

View Replies !    View Related
Trying To Make A Shooting Star With Trails
Hello, I am trying to make a star that starts small and gets bigger and has trails behind it like a comet. Whats the best way to do this?

Please excuse me I am new to flash and I am trying to learn tricks and shortcuts..thanks in advance

View Replies !    View Related
Leaving Trails Behind A Moving Object?
i just have an object on a motion path and want it to leave a solid trail of itself when it moves (no fade and stage isn't cleared)

any help would be great, my actionscript is pretty basic

cheers

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved