F > FScrollPane.refreshPane

 

FScrollPane.refreshPane

Availability

Flash Player 6.

Usage

myScrollPane.refreshPane()

Parameters

None.

Returns

Nothing.

Description

Method; resizes the scroll bars of the scroll pane when the contents inside the scroll pane changes. Call this method if you resize the content in the scroll pane window using _width or _height.

Example

The following code updates the scroll bars of moviePane after increasing the size of the movie clip myContent in the scroll pane.

var myContent = moviePane.getScrollContent();
myContent._width = 400; 
moviePane.refreshPane(); 

See also

FScrollPane.getScrollContent