• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 10. Animation and Interactivity > Adding a Rollover Effect to the Button

Adding a Rollover Effect to the Button

The Next and Restart buttons respond to user actions now, but they do not act like buttons. Most buttons, react in some way when the user rolls over them: They light up, or appear to jump out, or start to glow. This reaction provides important feedback to the user and invites the user to interact with the element. In this task, you'll revisit the button symbol so that it reacts when the user rolls over it.

Now that we've established that a button's appearance might change in response to the user, we can take the next step: Buttons respond to users in predictable ways. That is, a button can have one look when it is in its default position—when the movie first loads—and another look when the user rolls over it. These conditions (default, roll over) are called button states. Flash recognizes four button states:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint