Scrollpane.refreshpane() - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

ScrollPane.refreshPane()

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
scrollPaneInstance.refreshPane()
Parameters
None.
Returns
Nothing.
Description
Method; refreshes the scroll pane after content is loaded. This method reloads the content,
but does not reset the scroll bar. You could use this method if, for example, you've loaded a
form into a scroll pane and an input property (for example, a text field) has been changed by
ActionScript. In this case, you would call
to reload the same form with the
refreshPane()
new values for the input properties.
Example
This example creates a Refresh button and a ScrollPane instance called
. It loads the
my_sp
ScrollPane with an image and creates a listener for a click event on the button. When a click
event occurs, the example calls the
function, which reloads the content of the
refreshPane()
scroll pane.
ScrollPane.refreshPane()
1115

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents