Just as an image is contained in a graphics frame and text is contained in a text frame, a button appearance is contained in a button frame. However, unlike other frames, a button frame can have multiple child objects that apply to different states.
Each button can have as many as three states: Up, Rollover, and Down. The Up state appears unless the mouse pointer moves into the area (Rollover) or the mouse button is clicked on the button area (Down). Different appearances can be applied to each of these three states. You can select from a set of preset appearances, or you can create and define new states.
By default, any button you create is defined with the Up state containing the button’s text or image. When you create a new state, the appearance of the currently selected state is used. To distinguish a state from the others, you can then add text or an image, or you can delete the state’s contents and add new contents. If you convert an object to a button, the contents become the Up state of the button.
In the States panel, select a preset option from the Appearance menu. The preset options create slightly different button appearances for the Up, Rollover, and Down states.
From the States panel menu, choose New State to create the Rollover state. Choose New State again to create the Down state. If the Up, Down, and Rollover states exist, the New State option is dimmed.
To place a text file or image in the state, select the state in the States panel, and then either choose File > Place or choose Place Content Into State from the States panel menu. Double-click the filename of the text or graphic.
To paste an image or a text frame, copy it to the Clipboard, select the state in the States panel, and then choose Edit > Paste Into.
To type text, select the state in the States panel. Using the Type tool, click the button and type the text. For buttons converted from other objects such as placed images, choose Delete Content From States from the States panel menu, click OK to delete the contents, and then use the Type tool to click on the button and enter the text.
To change the stroke and fill of the state’s contents
(such as a text frame), select the state in the States panel and
use the Direct Selection tool to
select the button contents. In the Swatches panel, select the Fill
or Stroke icon and specify whether the stroke applies to text or
the frame, and then click a color in the Swatches panel. You can
also use the Stroke or Color panel to change the appearance.