Scrollpane Class - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

ScrollPane class

Inheritance
MovieClip >
ScrollPane
ActionScript Class Name
The properties of the ScrollPane class let you do the following at runtime: set the content,
monitor the loading progress, and adjust the scroll amount.
Setting a property of the ScrollPane class with ActionScript overrides the parameter of the
same name set in the Property inspector or Component inspector.
You can set up a scroll pane so that users can drag the content within the pane. To do this, set
the
property to
scrollDrag
components, events are broadcast when the mouse button is pressed and continue
broadcasting until the button is released. If the contents of a scroll pane have valid tab stops,
you must set
scrollDrag
invoke scroll dragging.
Each component class has a
available only on the class itself. The
version of the component. To access this property, use the following code:
trace(mx.containers.ScrollPane.version);
The code
trace(myScrollPaneInstance.version);
Method summary for the ScrollPane class
The following table lists methods of the ScrollPane class.
Method
ScrollPane.getBytesLoaded()
ScrollPane.getBytesTotal()
ScrollPane.refreshPane()
1098
ScrollPane component
UIObject class
>
UIComponent class
mx.containers.ScrollPane
; a pointing hand appears on the content. Unlike most other
true
to
; otherwise, each mouse interaction with the contents will
false
property, which is a class property. Class properties are
version
property returns a string that indicates the
version
Description
Returns the number of bytes of content loaded.
Returns the total number of bytes of content to be loaded.
Reloads the contents of the scroll pane (but does not redraw
the scroll bar).
> View > ScrollView >
returns
.
undefined

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents