PDA

View Full Version : drawing lines between two movie clips


ragz
04-12-2005, 09:26 PM
_root.createEmptyMovieClip("holder",1);
holder.lineStyle(3,0x00000,50);
holder.moveTo(_root.bo._x,_root.bo.y);
holder.lineTo(_root["bo"+1]._x,_root["bo"+1]._y);

any idea why this doesn't work?

ragz
04-12-2005, 10:17 PM
figured out what was wrong, the .y sohuld have been ._y
How do I draw lines between to movie clips so the start/end points are on the middle of the movie clip rather than the top left corner of it.

ragz
04-12-2005, 10:25 PM
ahh just found the dimensions of the object and found the coordinates of the centre ahhh i love talking to myself