Help Center

Local Navigation

Creating button objects

You can create buttons that cause an event to occur. For example, a user can make a selection from a selection list object, and the click a button to submit the information to the content server.

In the Plazmic® Composer, buttons are complex objects that are comprised of one or more other objects. For example, a button might be comprised of a rectangle object with a text object placed above it. Buttons have the following four states:

  • Initial State represents the initial appearance of the button.
  • On Focus In represents the button when it has focus.
  • On Focus Out represents the button when it does not have focus.
  • On Activate represents the button when it is clicked.

Each button state is treated as a separate entity; you can change the look and feel for each state to create the look and feel of a button. For example, you can make the button color brighter for the On Focus In state to provide a visual highlight when the button has focus.

When you create a button, the workspace enters editing mode. Only the component objects that make up the button image are visible on the canvas. In editing mode, you can access each of the four button states on the Animation key editor timeline.

Each button state has its own timeline, which is independent of the main project timeline. Using the timeline for each state, you can animate or add actions to each state independently. For example, you might want to animate the On Activate state to make the button appear to be pressed when the user clicks on it.


Was this information helpful? Send us your comments.