Hi,
This is my first tutorial lesson and I do not know what is wrong.
The following code simply moves a logo and makes it bounce a bit. I want to yoyo the action and repeat it indefinitely. I think the code is right. For some reason, It does the animation one time. There is no repeat or yoyo.
Any help is appreciated.
Here is the code:
function logoAnimate(){
var logo = document.getElementById("tlogo");
TweenLite.to(logo, 3, {
margin:"0 0 0 120px",
ease:Bounce.easeOut,
repeat:-1,
yoyo:true
});
}