Using animation

You can use the Animation(Mode, Value) method exposed by the CRMGraphicBlock object to animate your graphics. The Animation(Mode, Value) method has the following syntax: 

Copy
Animation('<Parameter>','<Value>');

In this syntax, you can use the following parameters:

  • Add. Adds the next frame in a series. If no frames have been added previously, adds the first frame.
  • Delay. Specifies delay for the animation. If this parameter is left blank, the default delay is used.
  • Loops. Loops an animation a specified number of times or indefinitely. By default, an animation is shown one time. To repeat an animation indefinitely, set this parameter to 0.

Examples

Copy
Animation('Add','50');
Copy
Animation('Add','');
Copy
Animation('Delay','50');
Copy
Animation('Loop','0');