Jump to content

Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Newbie

About Sander

  • Rank
  1. Thanks for your answer! I was thinking about that too, but since there was a ignoreBeforeTime parameter I thought there might be a ignoreAfterTime (or something) method/parameter that I wasn't aware of. I've implemented your code and everything works as it should. Thanks!
  2. Hi! Maybe I'm just overlooking something, but what I want is to get all the tweens in a timeline BEFORE a certain time and ignore all the tweens that come after that time. I saw in the documentation that the method "getChildren" with the parameter "ignoreBeforeTime" set returns all the children after a certain time, but I actually want the opposite. How can I achieve this? Thanks!
  3. No problem! Things like that will only help me understand the GSAP structure better. The more you learn. Thanks!
  4. Beautiful! Works like a charm. Thanks! I had to change one thing though: tween.timeline was null, so I used tween._timeline. Works, but all variables and function starting with _ should be considered private functions, right? Why is tween.timeline null?
  5. Aha, very clear explaination, thanks! So basically, easy explained, the onComplete events are "saved up" when navigating away from the page and THEY are fired at once when navigating back. I must say that I have tried setting useRAF to false, but that didn't seem to solve anything. I will try it again though. Because I really don't want to be dependent of TweenMax or TimelineLite, I will try to take care of it by writing some code myself. I will get back here when I make some progress or when I have another question. Thanks a lot!
  6. Hi. I'm writing a particle tweening script that tweens a bunch of dom elements, which I each give a slightly more delay. Everything looks fine, but when I switch tabs in my browser (chrome, but same in safari) and after that go back to the tab with my particle tweens, the delay seems to be ignored.. All the tweens start at the same time, without the delay! Any idea why this is? If you don't understand what I mean, I could upload the script to my hosting as an example. Oh, and I thought about using timelinelite for this, but I really want the sort of plugin I'm writing to not be depend
  7. Oh, sorry, I was planning on downloading the whole Greensock JavaScript Library again to check if the code at that point was maybe changed since I last updated the library, to check if it was maybe a bug that was already fixed, but I totally forgot! Now I have, and I see, at line 564 of TweenMax.js, the code has changed: there is no longer a reference to this.timeline. I suspect that will solve all my problems. Sorry for the unnecessary post and a big thanks for creating the whole library, you've really, really helped me out with my graduation project.
  8. Hi. I'm creating a project that uses TweenLite to tween easel properties. Everything goes right all the time, except for when I try to user TimelineMax.insert() to insert a tween (that doesn't tween any properties, but that I add to keep a reference to the object and to add the onUpdate-events the whole time the object should be on the easel Stage) at a certain point in my code. At all the other points in my code where I use insert() to insert a tween at a certain position, everything goes right, but not at one point. I keep getting the error Uncaught TypeError: Cannot read propert
  9. Ok, it's not finished, so don't mind the things that don't work properly yet, but I used tweenlite for a schoolproject, and you can view it here: http://sanderbruggeman.com/Q5/ PS. the language is dutch Oh, and I'm using tweenlite (and now and then tweenmax) for quite some time now, but I just now discovered the tips & tricks page. I've used that on the tweens in my example above now (local) and the scaleX and scaleY tweens are so much smoother now. Thank you!