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