Boy-O-Boy; here I am at my most 'dangerous'; nothing to do than get stimulated by postings on the Use-List.

So, I made a regular polygon graphic with 7 points, called it "G1", and then thought "funny things" and tried this in a button:

on mouseUp
   put item 1 of point 1 of graphic "G1" into WUN

end mouseUp

obviously didn't get any further than that as the
script-editor "threw a blue one" at that point:

"button "Button": compilation error at line 2 (Handler: bad command) near "1", char 18

Now . . .

I know that each point of a polygon graphic is defined by its position on a stack - which I, quite
reasonably thought might be 'item 1' and 'item 2' . . .

Come on: throw it at me!

Richmond.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to