Hi Rob

********
Can someone point me in the right direction regarding scaling images - - -
my goal is to pull in a JPEG image from an URL and display it in a smaller
size on the screen, no matter what the original size - - - yet preserve it's
aspect ratio.
********

Check out the formattedWidth and formattedHeight properties. The basic
scenario is that you divide your constant width (120) by the formattedWidth
of the image. That gives you a scale factor so you can set the height of the
image:

set the height of image 1 to round(the formattedHeight image 1*(120/the
formattedWidth of image 1))

Cheers

Monte

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to