<layer name="scrollarea" url.flash="scrollarea.swf" url.html5="scrollarea.js" parent="..." align="..." width="..." height="..." direction="all" draggable="true" capturechildren="true" parentmaskchildren="true" mwheel="true" onhover_autoscrolling="false" overscroll="1.0" friction="0.95" acceleration="0.08" returnacceleration="0.15" momentum="0.06" onscroll="" />
Attribute name | Type | Default value | |
direction | String | "all" | |
---|---|---|---|
|
|||
Attribute name | Type | Default value | |
capturechildren | Boolean | true | |
|
|||
Attribute name | Type | Default value | |
parentmaskchildren | Boolean | true | |
|
|||
Attribute name | Type | Default value | |
draggable | Boolean | true | |
|
|||
Attribute name | Type | Default value | |
mwheel | Boolean | true | |
|
|||
Attribute name | Type | Default value | |
onhover_autoscrolling | Boolean | false | |
|
|||
Attribute name | Type | Default value | |
overscroll friction acceleration returnacceleration momentum | Number Number Number Number Number | 1.00 0.95 0.08 0.15 0.06 | |
|
|||
Attribute name | Type | Default value | |
loverflow (read only) roverflow (read only) toverflow (read only) boverflow (read only) woverflow (read only) hoverflow (read only) | Number Number Number Number Number Number | ||
|
Attribute name | Type | Default value | |
onscroll | String | ||
---|---|---|---|
|
Action name |
setcenter(x,y) |
---|
|
Action name |
scrolltocenter(x,y) |
|
Action name |
scrollby(dx,dy) |
|
Action name |
stopscrolling() |
|
Action name |
update() |
|