User Guide
682 Chapter 6: Components Dictionary
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. 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
refreshPane() to reload the same form with the new values for the input properties.
Example
The following example refreshes the scroll pane instance sp:
sp.refreshPane();
ScrollPane.scroll
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
Usage 1:
on(scroll){
...
}
Usage 2:
listenerObject = new Object();
listenerObject.scroll = function(eventObject){
...
}
scrollPaneInstance.addEventListener("scroll", listenerObject)