LeClou
Community Answers
-
LeClou's post in condition "if" don't work was marked as the answer
I had try it whit a second master timeline but it was not working because of the error i done whit the return fonction.
but now it is working good.
function master1(){ sessionStorage.removeItem("abeille"); var timeline = new TimelineMax({repeat:0, delay:5}); timeline.add(act1()) .add(act1a()) .seek(11); } function monster(){ if(sesSto1==1){ master1(); } else{master();} } monster();
Thank you every body.