mouse within oval filled area
admin at FlexibleLearning.com
Sat Nov 12 14:25:16 EST 2011
Indeed, John, but not a unique object identifier if more than one grc uses
the same color. I think I am back to polar coordinates (unfortunately).
The current engine behaviour is painfully inconsistent with other controls
whose transparency is immune from mouse events.
John Dixon wrote:
> Use the mouseColor ?
> Has anyone worked out how to test if the mouseLoc is within the filled
> of an oval graphic (defined by startAngle and arcAngle)? I was thinking
> polar coordinates, but this assumes a circle and a fixed radius which is
> necessarily the case. A btter math brain than mine is needed!
> Hugh Senior
More information about the Use-livecode