Hi Matt,

It's quite obvious that Rectangle doesn't have scaleX and scaleY.

Why would you need it for the Rectangle class anyway?
What use for it could you possible have?

/ Viktor H

On Wed, 28 May 2008 16:43:04 +0200, Matt S. <[EMAIL PROTECTED]> wrote:

So I tried to the do the following:

var rectangle:Rectangle = new
Rectangle(0,0,[EMAIL PROTECTED],[EMAIL PROTECTED]);
if(cS.height < rectangle.height){
        rectangle.height = cS.height;
        rectangle.scaleX = rectangle.scaleY;
}

But it gives me the following error:
1119: Access of possibly undefined property scaleY through a reference
with static type flash.geom:Rectangle.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to