Creating events that trigger actions

Events trigger actions; that is, when a given event occurs, the specified action is triggered. The BlackBerry® Composer supports the following event types:

Event trigger type



Triggers an action when the user performs one of the following actions:

  • clicks on the button using the Select key (On Activate state)
  • scrolls onto a button object (On Focus In state)
  • scrolls off a button object (On Focus Out state)


Triggers an action when the user presses a specified key on the BlackBerry® device.


Triggers an action when the animation reaches a specified frame on the timeline.


Triggers an action based relative to the timeline of a specified animation object. For example, you can trigger an action five seconds after Animation_1 begins.

Was this information helpful? Send us your comments.