All correct. "reSizeStack" is sent continuously, sort of like "mouseMove", as one drags. In that way it is both very powerful and very annoying. What is missing is a hard lock on the parameters "oldWidth" and "oldHeight". These change, or rather are updated, at each message event, which means really often. One can save the "old" data in a custom property with (pseudo):
Code: Select all
...
set the lastInfo of this stack to the width of this stack && the height of this stack && the loc of this stack
end reSizeStack
Hmmm. Sounds like the margin value thing I mentioned has to be the way forward. This would be a useful tool for general use. Sounds like fun.
Craig