On Thursday, August 14, 2003, at 06:14 AM, Robert Brenstein wrote:
I think that once you put a point into a variable, you need to do math on it as items since parsing order changes.
add 10 to item 1 of var add 10 to item 2 of var
Robert
Yep, found this under thread "location math":
get the loc of stack <main stack name> subtract 150 from item 1 of it subtract 120 from item 2 of it set the loc of palette <palette name> to it
and
Other people have pointed out how to script the position of your palette using "the loc" i.e. the center of the stack. The other property which you might find useful is "the topLeft".
On Thursday, August 14, 2003, at 06:21 AM, Klaus Major wrote:
put the loc of this stack into var ## i am not sure if "...of stack me" is valid syntax!!!
add 20 to item 1 of var ## x location add 30 to item 2 of var ## y location set the loc of this stack to var
Regards
Klaus Major
"put the location of stack me" I got it in the docs somewhere but I can't re-find its location. It works in the message window.
You get the picture...
me
you :-)
Yep!
me
you
you
me
me
you
you
me
Now we're dancing :-)
Mark
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
