Jump to content
Search Community

JoeyRen

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

JoeyRen's Achievements

1

Reputation

  1. solved this problem. I forgot to reset the counter. thanks
  2. As I kept clicking "next" button, TweenMax was logging this error 'Uncaught Cannot tween a null target.' but the array did actually exist. what is the reason for this?
  3. we can use index & target parameters to log information easily var ani = TweenLite.to(boxes, .5, { left: function(index, target){console.log(index, target); return Math.random() * 100;} }) Is there any way to pass these two parameters into onComplete function like this: var ani = TweenLite.to(boxes, .5, { left: '+=30px', onComplete: function(){console.log(index, target);}, onCompleteScope: [index, target] })
×
×
  • Create New...