ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Hide Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
Filters: Retrieving Data from Server...
Retrieving Data from Server...
ga.util 

ScrollIntoViewUtil  - AS3 ADEP Guides

Packagega.util
Classpublic class ScrollIntoViewUtil
InheritanceScrollIntoViewUtil Inheritance Object

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Guides 9
Runtime Versions: AIR 1.0, Flash Player 10

Scroll utility class for bring current object into view



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
  
[static] Search the parent chain up from the component finding the first set of scrollbars that can scroll in the specified direction Return the container that can scroll in the specified direction
ScrollIntoViewUtil
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
  
[static] Scroll the specified component into view
ScrollIntoViewUtil
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  HORIZONTAL_SCROLL_POSITION : * = horizontalScrollPosition
[static] Defines horizontal scroll position.
ScrollIntoViewUtil
  MAX_HORIZONTAL_SCROLL_POSITION : * = maxHorizontalScrollPosition
[static] Defines maximum horizontal scroll position.
ScrollIntoViewUtil
  MAX_VERTICAL_SCROLL_POSITION : * = maxVerticalScrollPosition
[static] Defines maximum vertical scroll position.
ScrollIntoViewUtil
  VERTICAL_SCROLL_POSITION : * = verticalScrollPosition
[static] Defines vertical scroll position.
ScrollIntoViewUtil
Method Detail

getScroller

()method
public static function getScroller(component:IUIComponent, direction:Boolean):DisplayObjectContainer

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Guides 9
Runtime Versions: AIR 1.0, Flash Player 10

Search the parent chain up from the component finding the first set of scrollbars that can scroll in the specified direction Return the container that can scroll in the specified direction

Parameters

component:IUIComponent — the component that is a descendant of the container with scroll bars
 
direction:Boolean — true for horizontal, false for vertical

Returns
DisplayObjectContainer — DisplayObjectContainer

scrollIntoView

()method 
public static function scrollIntoView(component:IUIComponent):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Guides 9
Runtime Versions: AIR 1.0, Flash Player 10

Scroll the specified component into view

Parameters

component:IUIComponent — the object to bring into view

Constant Detail

HORIZONTAL_SCROLL_POSITION

Constant
public static const HORIZONTAL_SCROLL_POSITION:* = horizontalScrollPosition

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Guides 9
Runtime Versions: AIR 1.0, Flash Player 10

Defines horizontal scroll position.

MAX_HORIZONTAL_SCROLL_POSITION

Constant 
public static const MAX_HORIZONTAL_SCROLL_POSITION:* = maxHorizontalScrollPosition

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Guides 9
Runtime Versions: AIR 1.0, Flash Player 10

Defines maximum horizontal scroll position.

MAX_VERTICAL_SCROLL_POSITION

Constant 
public static const MAX_VERTICAL_SCROLL_POSITION:* = maxVerticalScrollPosition

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Guides 9
Runtime Versions: AIR 1.0, Flash Player 10

Defines maximum vertical scroll position.

VERTICAL_SCROLL_POSITION

Constant 
public static const VERTICAL_SCROLL_POSITION:* = verticalScrollPosition

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Guides 9
Runtime Versions: AIR 1.0, Flash Player 10

Defines vertical scroll position.