Hi all (again)...
How come the addVertex line below errors? When debugging, theShape is a
#shape, and it's in the cast, but addVertex always errors with handler not
defined.
I always appreciate any responses.
Thanks,
Michael M.
-------------------------------------------
theShape = new(#shape)
pShapeMember = theShape.memberNum
theQuadList = []
repeat with i = 1 to 4 -- make a rectangle
thePoint = pSp.quad[i] -- quad is only a sprite prop, so get quad &
offset it to 0
theLeftOffset = pSp.rect[1]
theTopOffset = pSp.rect[2]
theOffsetPoint = thePoint - point(theLeftOffset,theTopOffset)
addVertex(theShape,i,theOffsetPoint) -- error...handler not defined
end repeat
...the pSp is a sprite on the stage. It's supposed to make a rectangle of
the same dimensions as the sprite.
[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!]