Creating actions
Actions are triggered by the occurrence of a specified event. The BlackBerry® Composer supports the following actions:
Action |
Description |
|---|---|
Play Animation |
Plays the specified animation object. When you specify a Play Animation action, you set the animation settings to control behavior; for example, whether the animation starts from the beginning, whether it loops, accumulates, and so on. |
Stop Animation |
Stops the specified animation. |
Play Sound |
Plays a specified sound. When you specify a Play Sound action, you set the sound settings to control behavior; for example, how many iterations the sound will go through and the duration that the sound plays. |
Hide Component |
Turns off the display property of the specified animation or button object. |
Show Component |
Turns on the display property of the specified animation or button object. |
Load Scene |
Loads a new .pme, .pmb, or .svg file from a specified URL. The selected scene replaces the file currently displayed. |
Form Submit |
Submits form data collected from the user with Text Area and Selection List objects. |
Form Reset |
Clears user data from Text Area and Selection List objects. |
Launch Application |
Launches the selected application. This action must be used embedded in a theme. |
You can define actions with the events that trigger them, or you can define actions on their own and then bind them to an event later. Use the Interactivity dialog box to define actions and the events that trigger them. Use the Actions dialog box to define actions without defining how they are triggered.
- Create an action to play an animation
- Create an action to stop an animation
- Create an action to play a sound
- Create an action to hide an animation component
- Create an action to show an animation component
- Create an action to load a scene
- Create an action to submit a form
- Create an action to reset a form
- Create an action to start an application
- Change interactive content
- Change the focus order of the buttons