Button vs. Message box scripts; P.S. Invert matrices?
Jeanne A. E. DeVoto
jeanne at runrev.com
Sun Mar 30 22:10:32 EST 2003
At 6:54 AM -0800 3/28/03, Jim Hurley wrote:
>On mouseUp
>revrotatepoly graphic "MyPoly", 90
>end mouseUp
>
>return an error: "Chunk source is not a container."
The problem here is that revRotatePoly needs an expression that evaluates
to a graphic reference, not a graphic reference itself. (This is for
complicated reasons having to do with the fact that revRotatePoly is a
Transcript library routine.) This will work:
revRotatePoly the long ID of graphic "MyPoly",90
--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - Software at the Speed of Thought
http://www.runrev.com/
More information about the use-livecode
mailing list