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

Actionscript 2.0 language reference
Table of Contents

Advertisement

Methods inherited from class Object
addProperty (Object.addProperty
(Object.hasOwnProperty
(Object.isPropertyEnumerable
method),
registerClass (Object.registerClass
(Object.toString
(Object.valueOf
method),

bottom (Rectangle.bottom property)

public bottom : Number
The sum of the
and
y
Availability: ActionScript 1.0; Flash Player 8
Example
The following example creates a Rectangle object and changes the value of its
property from 15 to 30. Notice that the value of
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)
method),
method),
isPropertyEnumerable
method),
method),
unwatch (Object.unwatch
watch (Object.watch method)
properties.
height
,
height (Rectangle.height property)
hasOwnProperty
isPrototypeOf (Object.isPrototypeOf
method),
toString
method),
is also changed, from 10 to 25.
rect.height
Rectangle (flash.geom.Rectangle)
valueOf
bottom
1033

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF