Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Configuring an Action Script Animation with a "Mouse-Down" Event Trigger

Configuring an Action Script Animation with a "Mouse-Down" Event Trigger

  • Last UpdatedJul 13, 2023
  • 1 minute read

Action scripts that are activated with a "mouse-down" event (for example, On Left Click/Key/Touch Down) trigger two separate events:

  • A mouse-down event, when the button is pressed.

  • A mouse-up event, when the button is released.

As a result, timing issues can occur in if the user holds the button, even momentarily, before releasing it. These timing issues can affect how a pushbutton graphic is displayed. The pushbutton image may continue to show as depressed (active state), even after the user has released the button.

You can avoid this potential timing issue by using a "mouse-up" trigger instead of the "mouse down." A "mouse-up" trigger only sends one event (when the button is released), thus eliminating any timing issues that could result from a delay in the user releasing the button.

Configuring an Action Script Animation

TitleResults for “How to create a CRG?”Also Available in