setting polygon points
Posted: Sun Dec 21, 2014 10:58 pm
I've put the following code into a button's script:
on mouseUp
put "100,100,200,200,100,500" into myPoints
set the points of graphic "myPoly" to myPoints
end mouseUp
There is of course a polygon on the same card named "myPoints"
But when I click on the button, nothing happens.
What is up???
on mouseUp
put "100,100,200,200,100,500" into myPoints
set the points of graphic "myPoly" to myPoints
end mouseUp
There is of course a polygon on the same card named "myPoints"
But when I click on the button, nothing happens.
What is up???