That occurred to me this afternoon but I still get vertical stretching.
I have replaced the last line with
(window"popup").drawRect=rect(0,0,Miaw_R-Miaw_L,Miaw_B-Miaw_T)
I needed to make allowance for the spacing I put in around the image but
this obviously doesn't work either.

Is there a set way to use drawrect to ensure sprites aren't stretched or is
it just what happens?

thanks anyway.
Brad


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Buzz Kettles
Sent: Thursday, 10 October 2002 11:43 PM
To: [EMAIL PROTECTED]
Subject: Re: <lingo-l> auto-resizing miaw


your new drawRect probably needs to be zero based

i.e.
(window"popup").drawRect  = rect (0,0, newRect.width, newRect.height)

hth

-Buzz


[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