On Monday, June 30, 2003, at 01:35 PM, Dar Scott wrote:


if the mouseLoc is within the rectangle of graphic "Test" then

I just read Monte's mail on testing whether a point is within a polygon and realized that 'within()' and 'is within' are not the same function. The within() function looks pretty handy.


Replace above with this:

if within(graphic "Test", mouseLoc()) then

Hmmm. And I think Monte just demonstrated that this statement from the TD is not quite right:

Comments:
The expression
  point is within the rect of object
is equivalent to
  within(object,point)

It may have contributed to throwing Eric off.


Dar Scott



_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to