that viewers can choose whether they want to (Best web design)

that viewers can choose whether they want to see it. (They might want to get down to business right away and purchase something. Who are you to make them wait?) In this example, the movie loads, but the first thing that it encounters is a command to stop. Nothing happens until someone clicks a button to start the movie. Of course, the Web page should contain other buttons and information that viewers can use to navigate through your Web site. To add the Stop action to your movie, follow these steps: 1. Create your animation. 2. Choose Control.Test Movie and watch your animation run. 3. Create a layer for your action and name it Actions. Chapter 6 explains how to create and name layers. 4. Click the keyframe where you want to add the action. 5. Choose Window.Actions to open the Actions panel if it isn t already open. If necessary, click the Actions panel s title bar to expand the panel. 6. In the left pane, click Global Functions, click Timeline Control, and then double-click Stop in the list of actions. 7. Choose Control.Test Movie again. This time, the movie doesn t run; the Stop action halts it. Adding Actions to Buttons A common way to add interactivity is to create a button. The viewer clicks the button and something happens (or stops happening). Usually, you add text near or on the button so that your viewers know what the button is for. If you already work on a Web site, you re familiar with the concept of hyperlinks. If you know HyperText Markup Language (HTML) the language behind Web pages you know that you can create hyperlinks by using the tag and its href attribute. This tag links text or an image to another URL. When people click the text or the image, they are teleported to that URL. You can create Flash buttons that accomplish the same purpose but with much greater flair. (Check out the end of Chapter 8 for an example of a button that links to a different Web page.) Buttons can do more! They can start or stop animation, jump to different parts of a movie, and stop sounds, among other things. Chapter 10: Getting Interactive 219
Searching for affordable and reliable webhost to host and run your web applications? Go to our
java web server services and you will be pleased.

Leave a Reply