Seb,

Thanks for the help...it's just what I needed..

Leah

-----Original Message-----
From: s�b [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 7:11 PM
To: [EMAIL PROTECTED]
Subject: RE: <lingo-l> drawing line (was: (no subject))


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!]

********************************DISCLAIMER****************************
The information contained in the above e-mail message or messages 
(which includes any attachments) is confidential and may be legally 
privileged.  It is intended only for the use of the person or entity 
to which it is addressed.  If you are not the addressee any form of 
disclosure, copying, modification, distribution or any action taken 
or omitted in reliance on the information is unauthorised.  Opinions 
contained in the message(s) do not necessarily reflect the opinions 
of the Queensland Government and its authorities.  If you received 
this communication in error, please notify the sender immediately and 
delete it from your computer system network.

[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!]

Reply via email to