patawic
06-03-2010, 06:25 AM
I have a drawing code of
var linenumber = createEmptyMovieClip("line"+getNextHighestDepth(), getNextHighestDepth());
linenumber.lineStyle(2, 0x000000, 100);
linenumber.moveTo(oldx, oldy);
linenumber.lineTo(_xmouse, _ymouse);
trackcode += "l|" + _xmouse + "|" + _ymouse + "|";
trace(linenumber);
oldx = _xmouse
oldy = _ymouse
Which puts each line segment onto its own movieclip
I have the players character (which is a bouncing ball), How is it possible for the ball to collide with every movieclip. "Line1","Line2","Line3" etc etc.
var linenumber = createEmptyMovieClip("line"+getNextHighestDepth(), getNextHighestDepth());
linenumber.lineStyle(2, 0x000000, 100);
linenumber.moveTo(oldx, oldy);
linenumber.lineTo(_xmouse, _ymouse);
trackcode += "l|" + _xmouse + "|" + _ymouse + "|";
trace(linenumber);
oldx = _xmouse
oldy = _ymouse
Which puts each line segment onto its own movieclip
I have the players character (which is a bouncing ball), How is it possible for the ball to collide with every movieclip. "Line1","Line2","Line3" etc etc.