Use your JavaScript editor to open MoveImages.htm. The script demonstrates how to control the sequence of events, in this case 3 animations one after another.
The call to cpMoveObj(JS1,60,60,10,1); animates the first image. When the animation is complete, the function calls cpSequencer(1), which then starts animating the second object via call to cpMoveObj(JS2,120,120,15,2);
Modify the source code:
<SCRIPT language="JavaScript">
cpMoveObj(JS1,60,60,10,1);
</SCRIPT>
to read:
<SCRIPT language="JavaScript">
cpMoveObj(JS1,60,60,10,0);
cpMoveObj(JS2,120,120,15,0);
cpMoveObj(JS3,180,180,20,0);
</SCRIPT>
In this case, the images will be animated simultaneously, not one after another.
Address: C Point Pty Ltd, 71 Williamson Road, Para Hills 5096, Australia | |
Phone: +618 8263 3623 | Fax: +618 8396 1477 |
Web: http://www.c-point.com | Email: c-point@c-point.com |