Puzzling image drift
Jeanne A. E. DeVoto
jeanne at runrev.com
Sat Jan 26 18:33:01 EST 2002
At 12:40 PM -0800 1/26/2002, John Vokey wrote:
>I have a stack that presents a series of disk-based images by replacing
>the file name of the image object on the card. The images are not the
>same size, and over images the object appears to drift up and to the
>left. As this effect does not happen with identically-sized images, I
>suspect it has something to do with how MC determines the location of
>new image when replacing the previous one of a different size. I had
>assumed that the loc (top-left) of an image object was fixed, and all
>subsequent images would be displayed using that loc, but apparently
>not. So, what gives?
The loc of an image is its center, not its top left. This point remains
constant (unless you change the loc or rect or a related property) when you
change the image's fileName.
--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!
More information about the metacard
mailing list