> I'm not sure I understand the question ...

I will try to put it clearer:

I have a map, a normal, undistorted, rectangular image.

This is for a game. The user is moving an object over this map.

The visual representation of the map on the stage however is not plain, but
distorted (a pseudo-3-dimensional view) using

(the stage).image.copyPixels(mapImg, [point(x1, y1), point(x2, y2),
point(x3, y3), point(x4, y4)], mapImg.rect).

And as a matter of fact, the user is not moving the object over the
rectangular map, but over its representation on the stage.

When he clicks at some point on the stage, I have to know to which point on
the non-distorted map the clicked point on the stage corresponds.

The function inside() does not help.

Was I clear enough now?

Thanks in advance!

Michael von Aichberger

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to