Search the Community
Showing results for tags 'tweenmax 3d cube'.
Hi everyone, Please forgive me as I'm new to GreenSock and this is my first 3d box so I'm not sure which problems I'm having here. My main problem with GS is for some reason when my box loads initially it's animating as the page loads when I really just want it fired when it's been triggered by the buttons. I realize the TweenMax.to method creates the animation but how would I only fire it with an event listener. Maybe I'm not familiar enough with js but I thought when you store logic in a var it needs to be called with an expression via (). What am I missing here? Also, I know this may be a little off GS topic but I'm trying to get my box to be full width and height of the container and it seems like my perspective is off. Any suggestions on how to handle this? Thanks for any help. OP