I wanted to do something similiar and I figured it out. What I wanted was one animation that started an effect, and second animation that looped when the mouse was over a button, and then a closing animation when the mouse left. I think this is what you wanted to do. Here is the code to make it work. This code could be stream lined, but I wanted to get it working first.
This goes in script
function MainButtonOver()
{
if (event.type == 'mouseover')
{
MainOverStartAni();
setTimeout("MainOverStillAni()",1600);
}
}
'This is the starting animation.
function MainOverStartAni()
{
changeImages('TopLeft', 'images/Top-Left.gif', 'TopCenter', 'images/Top-Center.gif', 'KaosImage', 'images/Kaos-Image.gif', 'MainButton', 'images/Main-Button-over.gif', 'BioButton', 'images/Bio-Button.gif', 'LinksButton', 'images/Links-Button.gif'); return true;
}
'This is the looping animation.
function MainOverStillAni()
{
changeImages('TopLeft', 'images/Top-Left.gif', 'TopCenter', 'images/Top-Center.gif', 'KaosImage', 'images/Kaos-Image.gif', 'MainButton', 'images/Main-Button-overstill.gif', 'BioButton', 'images/Bio-Button.gif', 'LinksButton', 'images/Links-Button.gif'); return true;
}
In the Body
<TD>
<A HREF="#"
ONMOUSEOVER=MainButtonOver();
ONMOUSEOUT="changeImages('TopLeft', 'images/Top-
left.gif', 'MainButton', 'images/Main-Button-
out.gif'); return true;">
<IMG NAME="MainButton" SRC="images/Main-Button.gif" WIDTH=235 HEIGHT=84 BORDER=0>
</A>
</TD>
-David