Jump to content

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

Lasercode last won the day on November 21 2012

Lasercode had the most liked content!


  • Content Count

  • Joined

  • Last visited

  • Days Won


Lasercode last won the day on November 21 2012

Lasercode had the most liked content!

Community Reputation

13 Newbie

1 Follower

About Lasercode

  • Rank
    Advanced Member
  • Birthday 02/08/1980

Profile Information

  • Gender
  • Location
    Cologne, Germany
  • Interests
    Electronic music production, SoundFX, movies, realworld-multimedia-integration, the real mother nature, and how to grow up without getting old.

Recent Profile Visitors

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

  1. As always great help!!! I think most problems really come from wrong usage of mine. I will change the things you mentioned and will get back, if any error persists. Thanks a ton.
  2. Hi guys, this is how i normally created my loops in my banners before gsap3: // ... tl.addCallback(function(){ if(loopCount < 3){ loopCount++; // fade out elements }else{ tl.pause(); } }); Now, that addCallback is not present anymore I use "call()", but the ad does not loop correctly, but only two times. Is "call" not being processed in every loop of the timeline? This would be my whole timeline. Also notice the "tl.to({}, 0.1, {});" in the end, which is needed to avoid a flickering when looping. This was not the case in gsap2 as well. var loopCou
  3. Hey, thanks for the fix. Smart ass comment: I noticed that your initial gradient flips once you hover. Not that important, I admit . But if you wanna fix that too, the error is that you use "to top" in your colorize function, but then use the top param first, and then the bottom one. If you switch them, it's fine and dandy: function colorize(element) { //apply the colors to the element TweenLite.set(element, {backgroundImage:"-webkit-linear-gradient(top," + colors.bottom + ", " + colors.top + ")",background:"linear-gradient(to top," + colors.bottom + ", " + colors.top + ")"
  4. Hey, I know this is an old thread, but I came here once before and noticed that Jonathan's linear gradient example is not working for me. The radial one is ok. (Chrome)
  5. Hey there, Title says it. I know I read it somewhere some day... But I cant find what I search, so sorry to open a potential duplicate thread :/ Let's say I got a for loop creating 80 elements, as particles. Now I want them all to have the same starting point, but different end positions/speeds via Math.random() or so. After the "explosion", I would like to move the particles again for some pixels in Z direction, after a break. So: I like to have an explosion, then particles slow down and freeze, then animate again randomly, freeze again, and repeat - always with random positions. Could
  6. Hey PointC. You got me right Perfect! I marked Carl's answer as the solving one, as it was the right answer to my initial question. However, you helped me a looot! Cheers!
  7. Hey Carl, I see.. While writing a longer text to explain the neccessities, I realized that my way of organizing the timeline is probably just wrong. I am more of a creative than a coder and I got used to use ONE timeline, where I use the position param mainly for keyframe names to define animation "blocks" and add delays inside those blocks (like "start+=0.5" or "state2-=0.3" etc). The "wait" would then make things easier to divide into animations and pauses, if you get my thought. My creative mind makes a difference between times where stuff happens and where nothing happens. And it's way be
  8. Thanks mate. I would strongly recommend adding this to the lib to be honest. It seems like a very small effort for a very high user convenience, and I even used wait functions in flash already. It definitely is something very very common in programming animations. Especially in banner animations. I didnt find a sticky/pinned feature request thread, so could you pass this issue or shall I open a new thread? Cheers
  9. Hey there, if I want a pause of 2 seconds between Tweens in a Timeline, I got used to write tl.to({}, 2, {}); But it feels just not right and I wonder if there is something like tl.wait(2). First I thought "addPause" is what I need, but I believe it wasn't. This must be an everyday issue I assume, so I think I am just dumb and or blind. Thanks for some input.
  10. Ah... damn. I misread that one sentence. Filthy Kraut not has good englisch sometimes Mea culpa. All clear and working now. Thanks Carl.
  11. Thanks for the quick reply. I used custom ease before though, and I knew that I don't need the EasePack. I wanted to try it in addition to see if it changes something, which it didnt. If I remember and got you right, all I need to do is to use the tweenmax import link (for example the one from the download page)? https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenMax.min.js Because that's not working too (locally tested - not in codepen) I also downloaded the bundle now and imported your tweenmax lib locally. No success. Still "CustomEase is not defined".. Could you have a further look
  12. Hey folks, check out the codepen with open console. Any hints what's wrong? Thanks
  13. Facepalm... Thanks bro. Never would have thought about this..
  14. Hey folks. I got a rather simple problem. Please check out the code pen. Run it and then comment out the JS and comment in the CSS. What do I do wrong? Thanks.
  15. I had some problems with the file you did not mention (TweenMax) and did not know how to get those other smaller libs to work. Now I do. Question solved. Thank you all.