User Guide

370 ActionScript classes
The area below the rectangle
The area in the lower-right corner outside the rectangle
You can think of the eight regions outside of the center (defined by the rectangle) as a picture
frame that has special rules applied to it when the button is scaled.
When the
scale9Grid property is set and a button is scaled, all text and gradients are scaled
normally; however, for other types of objects the following rules apply:
Content in the center region is scaled normally.
Content in the corners is not scaled.
Content in the top and bottom regions is scaled only horizontally. Content in the left and
right regions is scaled only vertically.
If a button is rotated, all subsequent scaling is normal, and the
scale9Grid property is
ignored.
A common use for the
scale9Grid property is to set up a button in which edge lines retain
the same width when the button is scaled.
For more information, including illustrations and a related example, see
MovieClip.scale9Grid.
Availability: ActionScript 1.0; Flash Player 8
See also
Rectangle (flash.geom.Rectangle), scale9Grid (MovieClip.scale9Grid property)
_soundbuftime (Button._soundbuftime property)
public _soundbuftime : Number
The property that specifies the number of seconds a sound prebuffers before it starts to
stream.
For more information and an example, see the
_soundbuftime global property.
Availability: ActionScript 1.0; Flash Player 6
See also
_soundbuftime property
NOTE
Although you can specify this property for a Button object, it is actually a global property
that applies to all loaded sounds, and you can specify its value simply as
_soundbuftime.
Setting this property for a
Button actually sets global property.