Apply the scripting concepts introduced in this chapter to create a scroll box. Include a text box and two buttons in the mov- ie. Use the buttons to control the scrolling of the text in the text box. [Hint: Create a movie with two layers. In the one layer, place the text box and the two buttons. One of the buttons should increase the value of the variable your-textbox-name.scroll by 1 each time it is pressed and the other should decrease its value by 1 when it is pressed. The variable your-textbox-name should be changed according to the name you gave to your text box. In other words, if the text box was named box the buttons would alter the variable named box.scroll.

Set Variable: "your-textbox-name.scroll" = "1"
Set Variable: "your-textbox-name" = "This text will be dispplayed
in the scrolling textbox"








Computer Science & Information Technology

You might also like to view...

Encrypted files can be transmitted in both electronic form and as written messages.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

What are seven essential items that the analyst should include in performing a Web site traffic analysis?

What will be an ideal response?

Computer Science & Information Technology

To be valid, any domain name must correspond to at least one of which of the following?

A. loopback address B. unique numeric IP address C. firewall D. IP gateway

Computer Science & Information Technology

The ________ input type is a graphical element that visitors can click to perform a function

Fill in the blank(s) with correct word

Computer Science & Information Technology