Forum Discussion
Storyline360, Animation and GSAP ( Greensock )
OK - that is good advise, will change this to gsap.
- MathNotermans-92 years agoCommunity Member
Fixed.
Added a ResizeHandler() that acts on every resize and shows width and height. Thus you can if needed calculate where what needs to be.
But using a temporary shape to reposition it to on the x is easiest.
Added a fromShape... and in the ResizeHandler a gsap.set is used.
gsap.set(lessArw, { x:gsap.getProperty(fromShape, "x") });
Getting the x from the element.
First attempt though failed... In Storyline shapes, images and groups all have different orientation points or origins. And that makes it going wrong.
The fromShape probably calculates from its center, where a group uses the 0,0 point..thus getting unexplainable positions. Setting both orientpoints to 0,0 or top,left now...
Thats working, so its fixed.- larryvanwave-ff2 years agoCommunity Member
I am so thankful for you sharing your knowledge and expertise on this! I really appreciate you and your ability to figure complex issues out.