I know its very noob question, but i spend half a day on google and i cant find solution (or i just dont understand it). I want to loop several, infinite arrows that goes on some path.
I've made classic motion with one arrow on path, and its my movieclip1.
I was trying to copy that movieclip but then, all arrows go to the end, without loop repeat.
Have no idea how to solve my problem.
Some files that might help in attach.
GIF alone and SWF and FLA in zip.
EDIT: I have made what i want BUT its complicated way. Is there some simply way?
Last edited by CienieSushi; 01-26-2012 at 12:24 PM.
You want to create a long bent path with arrows that infinitely scroll along it?
Will this path have a beginning and end, or will it ultimately form a closed loop?
Not sure I understand why you don't just build the whole thing in a single MovieClip.
file .FLA in cs4 version as attachment.
Also, my work mate just tell me that maybe we could determinate speed od moving arrows in sec. not as frames. (there wil be more "pipes" with arrows, with different length and we will like to have same speed of all arrows)
Remove all the other arrows, and just have one full arrow motion in that movieclip, give that Movieclip an instance name of mc, then locate it in your Library, right-click it, press Properties, click Advanced to show more properties, tick/check Export for Actionscript, and in the identifier field, type, pipe, and press OK
Then use this code on your Frame (and cut down frames to only one):
ActionScript Code:
pipeX = mc._x;
pipeY = mc._y;
i = 0;
function createPipe(){attachMovie("pipe", "pipe"+i, i, {_x:pipeX, _y:pipeY});
i++;
}setInterval(createPipe, 500);
and then use this code on the last frame of the movieclip:
ActionScript Code:
stop();
unloadMovie(this);
Hope it works
__________________ 17 Years old boy, who loves the Computer Technology
Everything works alomst perfectly, but new movieclips that are created by ActionScript from Prid are creating at the top of all layers. How can i determinate that they will be created at the same layer what first movieclip?