From Xojo Documentation


WebAnimator.Play(Tag as Variant = Nil)

Supported for all project types and targets.

Plays the animation. Animations do not occur until this method is called. They will wait in a queue until then.


If you need to know when a specific animation finishes, you can set the Tag parameter. That value will be returned to you when the WebAnimator.AnimationComplete event is called.

Sample Code

Rotates a Button 90 degrees when it is clicked:

Animator1.RotateX(Me, 90, 0.5)