F > FScrollPane.getScrollContent |  |

FScrollPane.getScrollContent

FScrollPane, FScrollPane.getScrollContent, getScrollContent

Availability

Flash Player 6.

Usage

    myScrollPane.getScrollContent()

Parameters

None.

Returns

A reference to the movie clip in the scroll pane.

Description

Method; returns an instance of the content displayed in the scroll pane.

Example

The following code retrieves a reference to the movie clip inside `display1`, stores it in a variable, and then tells the movie clip to go to frame 4.

    var content = display1.getScrollContent();
    content.gotoAndStop(4);

See also

`FScrollPane.setScrollContent`