EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Bottom (Rectangle.bottom Property)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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)

Table of Contents

Related product manuals