Summary

I l @ ve RuBoard

Scrollbars contain up and down arrow buttons , a slider, and a bar. You can create your own set of elements and make them work with ActionScript.

Text fields can be set to scroll by Shift+clicking on the hollow white box at the bottom-right corner to change it to a solid black box. When a field is set to scroll, you can place as much text in it as you want without it automatically growing to fit the text.

The text field property of scroll can be tested and set to control the first visible line of text in a field. You can get the total number of lines with maxscroll .

Building simple scrolling buttons only requires that you increase or decrease scroll . You can create a complex scrollbar with more elements by following user interface standards and using text field properties.

I l @ ve RuBoard


Sams Teach Yourself Flash MX ActionScript in 24 Hours
Sams Teach Yourself Flash MX ActionScript in 24 Hours
ISBN: 0672323850
EAN: 2147483647
Year: 2002
Pages: 272

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net