![MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference Download Page 1033](http://html.mh-extra.com/html/macromedia/flash-8-actionscript-2-0-language/flash-8-actionscript-2-0-language_reference_6875371033.webp)
Rectangle (flash.geom.Rectangle) 1033
Methods inherited from class Object
bottom (Rectangle.bottom property)
public bottom : Number
The sum of the
y
and
height
properties.
Availability:
ActionScript 1.0; Flash Player 8
Example
The following example creates a Rectangle object and changes the value of its
bottom
property from 15 to 30. Notice that the value of
rect.height
is also changed, from 10 to 25.
import flash.geom.Rectangle;
var rect:Rectangle = new Rectangle(5, 5, 10, 10);
trace(rect.height); // 10
trace(rect.bottom); // 15
rect.bottom = 30;
trace(rect.height); // 25
trace(rect.bottom); // 30
See also
y (Rectangle.y property)
,
height (Rectangle.height property)
addProperty (Object.addProperty method)
,
hasOwnProperty
(Object.hasOwnProperty method)
,
isPropertyEnumerable
(Object.isPropertyEnumerable method)
,
isPrototypeOf (Object.isPrototypeOf
method)
,
registerClass (Object.registerClass method)
,
toString
(Object.toString method)
,
unwatch (Object.unwatch method)
,
valueOf
(Object.valueOf method)
,
watch (Object.watch method)
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...