>
>I currently have the need to take imported images and provide the following
>function:
>
>The user is viewing the imported image - easy, however, when the window is
>resized then the image should scale proportionately to the windows new size.
>
>That's it. My math is inherently bad and I always need some samples to
>follow when having to do this type of feature.
on resizeStack
put the rect of image x of stack y into r
set the rect of image x to item 1 of r,item 2 of r, the width of stack y,the hight
of stack y
end resizeStack
Not exactly math ;-)
>
>--
>
>Cheers,
>Simon
>
>Graphic Development: http://www.amigo-3.com
>
>--------------------------------------------------
>"The great discoveries in science are not punctuated by 'Eureka! I've found
>it!' but rather "Hmmm,that's funny...." Isaac Asimov
>
>.
Regards, Andu
_______________________
[EMAIL PROTECTED]