MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 1099

Components language reference
Table of Contents

Advertisement

vLineScrollSize
indicates the number of units a vertical scroll bar moves each time a scroll
arrow is clicked. The default value is 5.
vPageScrollSize
indicates the number of units a vertical scroll bar moves each time the scroll
bar track is clicked. The default value is 20.
vScrollPolicy
displays the vertical scroll bars. The value can be
value is
.
auto
You can set the following additional parameters for each ScrollPane component instance in
the Component inspector (Window > Component Inspector):
enabled
is a Boolean value that indicates whether the component can receive focus and input.
The default value is
true
visible
is a Boolean value that indicates whether the object is visible (
The default value is
true
The minHeight and minWidth properties are used by internal sizing routines. They are
defined in UIObject, and are overridden by different components as needed. These
properties can be used if you make a custom layout manager for your application.
Otherwise, setting these properties in the Component inspector has no visible effect.
You can write ActionScript to control these and additional options for a ScrollPane
component using its properties, methods, and events. For more information, see
class" on page
1098.
Creating an application with the ScrollPane
component
The following procedure explains how to add a ScrollPane component to an application while
authoring. In this example, the scroll pane loads a picture from a path specified by the
property.
contentPath
To create an application with the ScrollPane component:
1.
Drag the ScrollPane component from the Components panel to the Stage.
2.
In the Property inspector, enter the instance name my_sp.
.
.
,
, or
on
off
auto
) or not (
true
Using the ScrollPane component 1095
. The default
).
false
"ScrollPane

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents