Search the Community
Showing results for tags 'onupdateparams'.
-
First of all congratulations, GSAP is extraordinary !! I'm beginner in this. I would like to access to time's property ( duration tween ) in onUpdateParam() Something like this : this.parent._time (And I can't find the main object here... )
-
Hi, I'm working on an animation where I animate the scale, and other properties of the body tag. The scale goes from a value of 1 to a bigger value to create an effect like in Prezi, to zoom in to an element of the page. Just as is, this makes the element shown very blurry, but I found out if I set the tween's force3D property to false, it will be sharp (good) at all times. But this also makes the whole animaton very laggy. I tried to change the force3D property while animating, so it renders only a few times during the animation, to both avoid blurriness, and lag, but I don't know how to set it in the onUpdate function. So my question is, if I set the onUpdateParams to ["{self}"], what can I do in the onUpdate function with that object? (I tried calling .set() and .updateTo() on it)
- 8 replies
-
- tweenmax
- onupdateparams
-
(and 2 more)
Tagged with: