PDA

View Full Version : need assistance to modify an effect


Richard7
07-13-2005, 07:01 PM
Hi, :)


here (http://www.flashkit.com/movies/Effects/Mouse_Trailers/Magic_Cu-Pet-R-3992/index.php) is an effect download .fla
I need to change the script in this effect, so that it does not follow the cursor, but instead i need to lock it to a motion tween path that i have drawn. (which can be given any name or instance yes?)

I wont be using the background or wand in that .fla.. they can be removed easily enough. I just need the sparks & trail

can someone "get me on the right track" with this one?
Thanks
Richard7

Richard7
07-14-2005, 08:25 PM
Basicaly..Any info on how to assign a xmouse and ymouse assigned movement to follow a motion guide instead will do.

heres the script.

frame1:

Mouse.hide();

frame2:


n = n+1;
m = m+5;
if (n < 15) {
duplicateMovieClip("x", n, n);
setProperty(n, _x, _xmouse);
setProperty(n, _y, _ymouse);
setProperty(n-1, _y, _ymouse);
setProperty(n-1, _x, _xmouse);
setProperty(n, _rotation, m);
}
if (n > 15) {
n = 0;
}


frame3:

startDrag("/mouse", true);
n = n+1;
m = m+5;
if (n < 15) {
duplicateMovieClip("x", n, n);
setProperty(n, _x, _xmouse);
setProperty(n, _y, _ymouse);
setProperty(n-1, _y, _ymouse);
setProperty(n-1, _x, _xmouse);
}
if (n > 15) {
n = 0;
}
gotoAndPlay(2);




Thats it really.
theres not much script but i still dont know how to correctly adjust it.

Can someone please advise.
Thanks