This content has been marked as final. Show 3 replies
You can use the lineTo or curveTo drawing methods to create the line. Here is some example code. You can find out more in the online help. Look up lineTo or curveTo.
The drawing stuff is methods of the MovieClip class. So look there in the help files. But basically you've got.
MovieClip.lineStyle(thickness, color, alpha,...);
Don't forget to clear your lines when you are done with them. Don't just keep drawing the same line over and over either. Because it will slow down the player eventually.
The trick is that you need to pick which movieclip you want to draw in and then carefully choose your x and y. You also have to keep the depths of the movieclips in mind so that your line is in the right stacking order and isn't on top of things you don't want it on top of.
Thanking you kindley folks.