Hi,
I am having trouble getting onUpdate event to fire in a TimelineMax that I have nested inside of another TimelineMax. Basically i have a "master" timeline, and a bunch of different "section" timelines. The master timeline has its own onUpdate , but I would like the onUpdate for each of the different sections to call a different function. for example...
var master = new TimelineMax( {paused:true, onUpdate:masterUpdate});
var sec1 = new TimelineMax({paused:true, onUpdate:sec1Update});
var sec2 = new TimelineMax({paused:true, onUpdate:sec2Update});
master.add([sec1, sec2], "+=2", "stagger");
master.play();
The problem I am having is that sec1Update, and sec2Update are not getting called when their respective timelines are being played. Any help would be greatly appreciated. Thanks
Greg