F > FScrollPane.setDragContent |  |

FScrollPane.setDragContent

FScrollPane, FScrollPane.setDragContent, setDragContent

Availability

Flash Player 6.

Usage

    myScrollPane.setDragContent(drag)

Parameters

`drag` A Boolean value; `true` specifies that the user can change the view by dragging the content in the scroll pane; `false` specifies that the user can change the view only by using the scroll bars.

Returns

Nothing.

Description

Method; specifies whether the user can change the scroll pane view by dragging its content in addition to using the scroll bars. Calling this method overrides the Drag Content parameter value set during authoring.

Example

The following example specifies that the content in the scroll pane `display1` is draggable.

    display1.setDragContent(true);