Packagemx.core
Classpublic final class ScrollPolicy
InheritanceScrollPolicy Inheritance Object

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Values for the horizontalScrollPolicy and verticalScrollPolicy properties of the Container and ScrollControlBase classes.

See also

mx.core.Container
mx.core.ScrollControlBase


Public Constants
 ConstantDefined 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
AUTOConstant
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.

OFFConstant 
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.

ONConstant 
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.