Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by anotheruser

  1. Is there any update on this topic ? Still my text is glitching I have read the detailed blog about will change written by Carl i think , But still not sure how to fix this issue
  2. Hi I know there is a way to seek gsap timeline using t1.play(time, suppressValue) so if i set the suppressValue to false , all the previous events(add callback, onstart, oncomplete) will be called right ? Is there a way to enable onComplete events alone without enable all the events?
  3. Hi @mikel i am sure about the delayed call , but what am asking is am trying to get the toal progress so if the repeat is more the total progress will be somewhat like 0.8-0.7 while you pause it in the end i want the progress to be 1 when we pause
  4. Hi this is a new question lets consider that i have a timeline t1 the total duration is of the timeline t1 is 8 and but i want that to repeat once , but the total time should not exceed 12 seconds so basically the first loop will be a normal animation and the second one would be a part of it
  5. @mikel thanks, yes i understand but see in the following link the time is keep on increasing https://codepen.io/jeffin417/pen/ExjGVxq?editors=1011 i just need the time to stop and end play at 10 seconds
  6. Hi I have a timeline with two tweens the two tweens are 8 seconds each and repeat is set to be -1 so that it is infinite so the timeline's whole time is now showing as infinite . I want to set the timeline time to a specific amount without actually changing the timescale timeline.set({}, {}, time); will work , it works only if the time is greater not lesser. how to actually achieve this?
  7. ?Just like this https://codepen.io/sheriffderek/pen/VPVoVa Here the tween stopped when the audio is paused But what i need is the audio to be stopped when the tween is paused
  8. Hi Is it possible to control a html video tag's playback using GSAP Right now what am doing is using GSAP's callback function to start two/three videos But is it possible to pause the video when the timeline is paused as well
  9. This is kind of what i need , I will check it right away
  10. Hi I have created a tween using custom easeas following TweenLite.to(graph, 2.5, { ease: CustomEase.create("custom", "M0,0,C0.126,0.382,0.282,0.674,0.44,0.822,0.632,1.002,0.818,1.001,1,1"), y: -500 }); The above tween is added to a timeline As it is mentioned in the docs that we have to create the custom ease on beginning of each webpage load, I want to clear/destroy the customease now , I have killed the tween and profiled the webpage in chrome but still seeing that the custom ease is not being removed. is there a function like customease.clear() there to do this thing ?
  11. here you can see that the scaleX values is -0.5 but when am trying to set it to -1.5 it flips the image, instead it should grow the image 1X times. Am i doing it wrong? why do i need 0.5? because it need to look flipped.
  12. Works perfectly , I am tired of saying thanks to Osublake again and again, So I ll buy coffee for you. there you go ☕
  13. Also as you have stated in the following comment I have tried to set a dummy value to a tweenmax like TweenMax.set("#dom", {opacity:"0"}) But CSSPLUGIN still hold reference of the old SVG DOM. Also do i have to set a dummy tween normally or do i have to set a dummy tween for all the timelines like this t1.add(TweenMax.set("#dom", {opacity:"0"})) t2.add(TweenMax.set("#dom", {opacity:"0"})) ?
  14. Please check the following codepen Here after clicking stop button i have removed all the dom elements (SVG DOM) but it wont be removed in heap memory showing that tweenmax CSSplugin hold a reference of that DOM
  15. I have a master timeline and a number of children timelines which is added to the master timeline through .add() method. I have killed all the timelines but still GSAP CSSPlugin holds some reference just like the image which i have added to this post. Is there anything I am doing wrong ?
  16. Sorry , I was testing something else using the same codepen , can you please check now ? https://codepen.io/jeffin417/pen/jpNBGX
  17. Hi , I am trying to scale/reveal a rotated image from top, but when i try to do that the position changes! Is there anything i am doing wrong ? To Animate in codepen , please click the image
  18. Hi, I am using GSAP in a react application, I have a timeline in my redux store and the timeline's onupdate listener in a component. I am using the onupdate to move a playhead thumb just like a Player. Every time the onupdate is called i get the value from the timeline._time and change the value for the thumb, the problem is when huge tween is happening (like for 200 items) the onupdate calls are not frequent , but the tween runs very smoothly , is there anyway i can get smoother progress values?
  19. I thought i clearly read the documentation , I am wrong , thanks man , Awesome answer as always BTW is that already present in the document? or added recently?
  20. The problem is i am trying to do a typewrite effect when using the thing like you said , the cursor will consider it like a whole div rather than seperate div
  21. Hi, sorry for providing a wrong codepen , Please check the following , this is what i am trying to do for extra spaces , but the problem is i cant create seperate divs for empty spaces with splittext.
  22. Hi , I am trying to create a typewriter effect , but what i am facing is a issue where when i try to split text with 'chars' it automatically remove spaces and make it as one space for eg if i type "hi greensock" , it changes it to "hi greensock" please check the following codepen, I need spaces to be in separate div because I need to get the cursor placed inside the seperate div