Button Objects
Top  Previous  Next


button A Button Object is a Simple Object that is made up of four states: Up, Over, Down and Hit, as shown in the illustration below.

buttonstates  

Unless the Has Separate Over State, Has Separate Down State or Has Separate Hit State option is selected in the Button Panel, only the button's Up State will be displayed in the Outline Panel. A button will always have the four states but they will be identical unless modified.

You can also select the Has Separate Over State, Has Separate Down State or Has Separate Hit State options by right-clicking the button and selecting the appropriate option.

·The Up State is the default appearance of the button. It is displayed when the Movie starts playing, and whenever the mouse is outside the button  
·The Over State is displayed when the mouse is moved inside the button. You can use it to create 'Rollover' and 'Hover' buttons in a Movie  
·The Down State is the 'clicked' appearance of the button. It is displayed when the mouse is clicked inside the button  
·The Hit State defines the active area of the button that reacts to mouse clicks. It is an invisible state and is never displayed  

The behavior of the button as you drag the mouse away from the hit area depends on the Tracking Setting for the button.

The four button states act like Group Objects. You can insert any kind of Object, except another button, into the Up, Over and Down states, but only Shape Objects and Text Objects are allowed to define the hit area.

You can create an empty Button Object using newbutton Insert Button or create a button with the states already set up by using cbutton Convert to Button.

You can edit the settings for a Button Object using the Button Panel.

For further information, refer to the Tutorial section on how to create animated buttons.