dear list
here's my problem
i am trying to get the end of a vector shape to follow the mouse using the 
following code:
<moviescript>
global k, a
on startMovie
  k = sprite(1).membernum
  a = member(k).vertexlist
end

on  drawline
  a[1].vertex = the mouseloc - sprite(1).loc
  member(k).vertexlist = a
end
<end moviescript>
<frame script>
on exitFrame
  drawline
  go the frame
end
<end frame script>

everything is hunky dory when i use a straight line but . . .
if i use curves (ie they have handles in the member vertexlist) vertex 1 no 
longer foloows the mouse exactly but seems to have an offset of some kind 
even though a[1].vertex should address the vertex point as before.
any ideas?

cheers
ray barker

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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