Thanks for responding. I realize this is an old post, but I happen to be using this TweenMax exactly as stated here, except that I would like to add an "opacity:0" to the beginning value of "0" and "opacity:1" to the ending value of "50." I'm not sure if it needs to be a TweenMax.fromTo, but if so, I can't get that to work. I'm also enclosing this tween inside ScrollMagic, but that shouldn't have any bearing on the tween itself. If you can help I'd appreciate it, as I'm new to animating with GSAP.
var obj1 = {value:0},
element1 = document.getElementById("countUp1");
countertimeline.insert(TweenMax.to(obj1, 1.4, {value:50, ease:Linear.easeNone,
onUpdate:function() {
element1.innerHTML = obj1.value.toFixed(0);
}
}) );