Hi there,
I'm having a bit of trouble using TweenMax, TimelineMax and fromTo. Here's my code:
in_from = {
'transform': 'translate3d(100%, 0, 0.1)'
};
in_to = {
'transform': 'translate3d(0%, 0, 0.1)'
};
self.state.tween_in = TweenMax.fromTo(
self.target, // This is a DOM object
self.deck.props.transitionSpeed,
in_from,
in_to
);
I'm pretty sure I'm using it correctly. I think I am because if I use just .to() it works correctly. :-/
Thanks,
Dave