I l @ ve RuBoard

The quiz questions are designed to test your knowledge of the material covered in this hour . The answers to the questions follow.



How many different ways are there to move text with a scrollbar?


Five. You can use the up arrow button, the down arrow button, click on the bar above the slider, click on the bar below the slider, or click and drag the slider.


If a text field has eight visible lines, and there are a total of nine lines in the text, what would maxscroll return?


It would return 2. If scroll was set to 2, lines 2 through 9 would be visible. That is the maximum possible because there are only nine lines.


What do you need to do to a button to be able to change its location before setting the _x or _y properties of the button?


Name it. The button must have a unique name so that you can refer to it in ActionScript.


How can you find the total number of visible lines in a text field?


Subtract scroll from bottomScroll and add 1. For instance, if scroll is 7 and bottomScroll is 9, then 9-7+1=3. Lines 7, 8, and 9 are visible.

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 © 2008-2017.
If you may any questions please contact us: