F > FScrollPane.setScrollContent |  |

FScrollPane.setScrollContent

FScrollPane, FScrollPane.setScrollContent, setScrollContent

Availability

Flash Player 6.

Usage

    myScrollPane.setScrollContent(target)

Parameters

`target` A text string specifying the symbol linkage ID of a movie clip in the library or an instance of a movie clip.

Returns

Nothing.

Description

Method; specifies a movie clip to display in the scroll pane. Calling this method overrides the Scroll Content parameter value set in authoring.

Example

The following example specifies the movie clip instance `BetsyTacy` as the target for `display1`.

    display1.setScrollContent("BetsyTacy");

See also

`FScrollPane.getPaneHeight`, `FScrollPane.loadScrollContent`