List.vscrollpolicy - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Example
The following example displays the current value of the vPosition of the list whenever the
contents of the list are scrolled:
my_list.setSize(200, 60);
my_list.rowCount = 4;
my_list.vPosition = 2;
my_list.addItem({data:"flash", label:"Flash"});
my_list.addItem({data:"flex", label:"Flex"});
my_list.addItem({data:"coldfusion", label:"ColdFusion"});
my_list.addItem({data:"dreamweaver", label:"Dreamweaver"});
my_list.addItem({data:"fireworks", label:"Fireworks"});
my_list.addItem({data:"contribute", label:"Contribute"});
my_list.addItem({data:"breeze", label:"Breeze"});
var listListener:Object = new Object();
listListener.scroll = function(evt_obj:Object) {
trace("my_list.vPosition = " + my_list.vPosition);
}
my_list.addEventListener("scroll", listListener);

List.vScrollPolicy

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
listInstance.vScrollPolicy
Description
Property; a string that determines whether the list supports vertical scrolling. The value of this
property can be
,
or
. The value
causes a scroll bar to appear
"on"
"off"
"auto"
"auto"
when needed.
810
List component

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents