Brian,
Your syntax looks to be off there
It should read:
Member(1).addVertex(2, point(25,200), point(25,10), point(45,200))
The 2 would be the index where the new vertex should be added, the first
point is where that vertex should be drawn, and the last 2 points are
the offset from that vertext that your control handles are located.
Macromedia's help uses the curly braces to denote optional parameters.
It also looks to me as though it incorrectly identifies that parameter
as a list. I've always used my syntax above without any problems.
Another help bug? Or have I been using it wrong all along?
Brian Romanko
Lead Developer - Neo/SCI Corporation
Member - Greater Rochester Macromedia User Group
-----Original Message-----
IS there anyone out there with vector scripting experience.
If so I am curious as to how I add a handle to my vector.
Here is some sample code that generates a "Wrong number of parameters"
alert:
member(1).addVertex(2,point(25,200),{[25,10],[45,200]})
Brian Douglas (:ub)
========================================================================
====
[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!]