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

On Your Own

Following the instructions in the preceding tasks, implement the mouseEnter, mouseLeave, and mouseUp scripts you need to add animation and restore the branching to the Locations and Order buttons. As you do, remember these points:

  • The mouseUp script that branches to the Order feature should use the go to movie "Order.dir" command instead of the go to frame command.

  • You can assign the mouseLeave sprite script that you created for the BtnRest animation sequence to the sprites in the BtnLoc and BtnOrd animation sequences as well. This is one reason why, in the previous task, you left the mouseLeave script as a separate script and didn't add the mouseUp script to the end of it. All you need to do is select all the sprites in the animation sequence and then choose the existing script from the Behaviors menu in the sprite toolbar.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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