is within ... polygon shape?

Scott Rossi scott at tactilemedia.com
Fri Jun 24 12:50:16 EDT 2005


Recently, Lynch, Jonathan  wrote:

> Put the points of image "myImage1" into field "feedback"
> 
> Causes an error - it says this object does not have this property. I am
> misunderstanding something aren't I?

Images don't have points.  You simply test the point against the image
itself:

 if within(img "myImage",myPoint) then answer "point is within the image"

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com



More information about the use-livecode mailing list