Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > RectBorder class | |||
The RectBorder class is used as the border of most components. A separate implementation of this class is provided by each theme, which has its own set of border styles and properties that it supports.
|
NOTE |
|
The RectBorder class is supported only if you are working in a document that specifies ActionScript 2.0 in its Publish Settings. |
You interact with the RectBorder class primarily by setting styles on other components. For example, when you include a List component in a document and set the borderStyle style property, the List component creates a RectBorder instance that uses the list's borderStyle setting. You can also create a custom RectBorder implementation to skin the border of all components that use RectBorder.
The RectBorder class has four standard display styles: none, inset, outset, and solid.
The standard RectBorder display styles
The Halo theme also adds four special display styles, which are used by specific components.
The special RectBorder display styles added by the Halo theme
|
Special style |
Component that uses it |
|---|---|
default
|
Window |
alert
|
Alert |
dropDown
|
ComboBox and DateField |
menuBorder
|
Menu and MenuBar |
The RectBorder behavior and style properties described here are consistent for all components that use the RectBorder class.
Flash CS3