Calculating the distance between two images..?
Hi,
I'm trying to calculate the distance between two images (A and F - there are other images between A and F) but I can't seem to figure out how to do it the right way.
The image A.x is "(stage/2) - (A.width/2)" and image F.x is "E.x - imgSpace" which is a negative value (all the images x is of negative value to image A.x).
In my oppinion the calculation is F.x - A.x and although it might be right I still ned the value to be non-negative.
Does anyone know how to do this??
Thanks in advanse.. ![]()
