Hi Leah, > I want to have a rectangle on the stage. When the user drags this > rectangle > I want a line to be drawn from where the rectangle started (the middle of > the rectangle) to where ever the user moves the rectangle. > > They can keep dragging the rectangle anywhere and therefore the line must > also follow where the rectangle is.
You might take a look on a sample movies I've done to draw lines with sprites, using #shape or #vectorShape members (depending if you wish constant lineSize or antialias) samples movies and source are there: <http://sebastien.portebois.free.fr/pistesl/d7_draw_line/> another option is to use imaging lingo , but I belive if the line is only a temporary sprite the solution above will better fit your needs. hth, .s�b [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
