Button vs. Message box scripts; P.S. Invert matrices?
Jim Hurley
jhurley at infostations.com
Fri Mar 28 09:55:01 EST 2003
Now here's a funny thing:
I ran the following single line in the msg box:
revrotatepoly graphic "MyPoly", 90
and sure enough, the graphic "MyPoly" rotated 90 degrees.
But the button handler:
On mouseUp
revrotatepoly graphic "MyPoly", 90
end mouseUp
return an error: "Chunk source is not a container."
Why is it that the msg box can find the graphic but the button cannot?
Jim
P.S. I don't suppose anyone has a routine to invert matrices?
More information about the use-livecode
mailing list