Hi folks!
I'm struggling to get to grips with TimelineMax.fromTo(). If I have two tweens on a timeline, tweening first from, say, { opacity: 0 } to { opacity: 0.75 } and then from { opacity: 0.75 } back to { opacity: 0 }, when creating the timeline my target element has its opacity set to the from state of the second tween (i.e. 0.75). I was expecting it to take on the opacity in the from state of the first tween (i.e. 0).
Now I can get around this using immediateRender: false (though this is less convenient), but I'm still trying to work out why the initial opacity set during render is coming from the second tween in the timeline and not the first.
No doubt I'm missing something obvious. Any ideas what?!
Thanks!