| Package | mx.core | 
| Class | public final class ScrollPolicy | 
| Inheritance | ScrollPolicy    Object | 
| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
horizontalScrollPolicy and
  verticalScrollPolicy properties
  of the Container and ScrollControlBase classes.
 
  Related API Elements
Public Properties
| Property | Defined By | ||
|---|---|---|---|
![]()  | constructor : Object 
	 A reference to the class object or constructor function for a given object instance.  | Object | |
Public Methods 
| Method | Defined By | ||
|---|---|---|---|
![]()  | 
	 Indicates whether an object has a specified property defined.  | Object | |
![]()  | 
	 Indicates whether an instance of the Object class is in the prototype chain of the object specified 
	 as the parameter.  | Object | |
![]()  | 
	 Indicates whether the specified property exists and is enumerable.  | Object | |
![]()  | 
     Sets the availability of a dynamic property for loop operations.  | Object | |
![]()  | 
	 Returns the string representation of this object, formatted according to locale-specific conventions.  | Object | |
![]()  | 
	 Returns the string representation of the specified object.  | Object | |
![]()  | 
	 Returns the primitive value of the specified object.  | Object | |
Public Constants
| Constant | Defined By | ||
|---|---|---|---|
| AUTO : String = "auto" [static] 
	  Show the scrollbar if the children exceed the owner's dimension.  | ScrollPolicy | ||
| OFF : String = "off" [static] 
	  Never show the scrollbar.  | ScrollPolicy | ||
| ON : String = "on" [static] 
	  Always show the scrollbar.  | ScrollPolicy | ||
Constant Detail
AUTO | Constant | 
public static const AUTO:String = "auto"| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
Show the scrollbar if the children exceed the owner's dimension. The size of the owner is not adjusted to account for the scrollbars when they appear, so this may cause the scrollbar to obscure the contents of the control or container.
OFF | Constant | 
public static const OFF:String = "off"| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
Never show the scrollbar.
ON | Constant | 
public static const ON:String = "on"| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
Always show the scrollbar. The size of the scrollbar is automatically added to the size of the owner's contents to determine the size of the owner if explicit sizes are not specified.
Thu Dec 4 2014, 05:50 PM -08:00
 