zozo

ShockinglyGreen
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

1 Newbie

About zozo

  • Rank
    Newbie
  1. zozo

    snap drag rotation issue

    Ok, I just needed the ThrowPropsPlugin.min.js. Thanks !
  2. zozo

    snap drag rotation issue

    Hi, I'm struggling to reproduce the draggable rotation with snap, exactly like the example https://greensock.com/draggable. Like you can see on the codepen, the snap isn't working. Can you tell me what I'm doing wrong ? Thanks, Romain
  3. zozo

    callback won't fire when paused is true ?

    Sorry my bad, I'm stupid. don't bother reading. Thanks for making Tweenmax so awesome.
  4. zozo

    callback won't fire when paused is true ?

    ok, made it work like that. function test(){ console.log('done'); } var animContPress = TweenMax.to($("#contpress"), 1, {left:'0',ease:Power2.easeInOut,paused:true}); animContPress.eventCallback("onComplete", test); animContPress.play(); Witch i find weird because it doesn't make any difference if suppressEvents is set on false or not.
  5. I'm I doing something wrong here ? If paused is true, the callback fire, but not if I use paused and play. At first I didn't set second play parameter to false, but even with .play(0.5,false) callback doesn't fire. Thanks for help. function test(){ console.log('done'); } var animContPress = TweenMax.to($("#contpress"), 1, {left:'0',ease:Power2.easeInOut,onComplete:test,paused:true, suppressEvents:false}); animContPress.play(0.5,false);