Animate

Animate tag is used to animate a single attribute or property over time. Animate can change an XML or a CSS value. The animation may begin initially or may be triggered with the user interaction.
$animateObj = new Animate();
   $animateObj->attributeType = "CSS";
   $animateObj->attributeName = "opacity";
   $animateObj->from = "1";
   $animateObj->to = "0";
   $animateObj->duration = "5s";
   $animateObj->begin = "click";
   $animateObj->setInfiniteLoop();
In the following example, circle opacity decreases as you click and repeats itself. The codes are available in animate.php, see downloadable package.

Methods

Animate class uses the methods of animateabstract class. So please check animateabstract.class.php in the library folder in the downloadable package.

All rights reserved. See license