The problem I'm having is that as soon as the mouse moves over another object, apparently it is no longer considered 'within' the rect of the stack, even though the object is obviously within the rect of the stack.
For instance, if you have a field, and the mouse moves over it, the mloc is no longer within the rect of the stack (which I admit freely, I don't understand at all).
So I tried to solve that by generating the rect boundary into a variable, then getting the two points of the mLoc and then comparing them, however, apparently 'within' is not the correct function for this (even though the dictionary says it is).
I'm sure someone knows a way to do this, and I hope they will share it here

Edit -
Dictionary example I was referring too is
Code that apparently is failing to register this example -Examples:
"22,33" is within "22,17,150,200" -- evaluates to true
Code: Select all
on mouseEnter
put the effective rect of stack "winShape" into lclRect
put item 1 of the mouseLoc into lclX; put item 2 of the mouseLoc into lclY
if (lclX,lclY) is within lclRect then
set the blendLevel of stack "winShape" to "0"
end if
end mouseEnter

The original code I was attempting was
Code: Select all
if the mouseLoc is not within lclRect then set the blendLevel of stack "winShape" to "50"