is within ... polygon shape?
Steve Bonham
sbonham at georgiasouthern.edu
Fri Jun 24 10:55:21 EDT 2005
Eric,
Wow!
Now THAT is an ingenious approach!!! :-)
and it might be just the solution needed.
I'll give it a shot.
S
>Re Steve,
>
>Another funny approach:
>
>function WhichObject pLoc,pObj
> local tCurLoc, tColor
> -----
> put the screenMouseLoc into tCurLoc
> lock screen
> hide pObj
> set the screenMouseloc to globalLoc(pLoc)
> put the mouseColor into tColor
> set the screenMouseloc to tCurLoc
> show pObj
> unlock screen
> return WhatKindOfObject(tColor)
>end WhichObject
>
>WhatKindOfObject function would return the right object according to
>the passed color :-)
>Not tested... but should work.
>Ah, there are so many ways to do a job with Rev!
--
--------------------------------------------------------------------------------------------------
Steve Bonham
Director, Faculty Technology Development Laboratory
Center for Excellence in Teaching - Georgia Southern University
Statesboro, GA 30460-8143
--------------------------------------------------------------------------------------------------
More information about the use-livecode
mailing list