Jump to content
Search Community

f271353

Members
  • Posts

    1
  • Joined

  • Last visited

f271353's Achievements

0

Reputation

  1. Hi, I have a TweenMax that I create that goes from 0,0 --> 100,100 over x seconds. What I want to do is at y value = 33px I want to start setting opacity towards 25% opacity. At y = 66px value I want the animation to start going towards 0% opacity. Now what is the best way to achieve such effect? I've tried Sequencing in timeline but it looks crap because I don't know how to group all 3 under the same easing, as in if I use power4 it goes fast slows down towards 33px, then fast and slow towards 66px. Instead of fast and then slow towards 100px. The only way I've so far managed to locate the y position is in an onUpdate function: var y = this._firstPT.t._transform.y; And it feels quite wrong to go 4 objects deep to fetch a value.
×
×
  • Create New...