Hi All,
I'm new to GSAP. This is just a syntax question, I think:
I have two images that need to be scaled up and positioned on the screen simeltaneously (using a timeline)...as if they were attached or parented. My attempts to do this result in one of the images moving at a slightly different rate which is not what I need.
Below doesn't work as written ...but should give you an idea what I need to do:
var tl = new TimelineMax({paused:true, reversed:true});
TweenLite.defaultEase = Elastic.easeInOut;
tl.to(stage.ImageA (and ImageB), 1.3, {scaleX:3,scaleY:3, x: '+=263', y: '-=50'});
//These images need to scale up and move exactly in tandem as if attached.
Any help appreciated!