Jump to content
GreenSock

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

MT

BusinessGreen
  • Posts

    35
  • Joined

  • Last visited

About MT

MT's Achievements

  1. Thank you Jack! I confirm that It works. Thank you for the amazing work you and your team do!
  2. I am using this line of code to capture my version of TweenMax ( in case other plugins load their own version ) wpmc.greensock = {}; window.GreenSockGlobals = {}; window._gsQueue = window._gsDefine = null; If I comment "window.GreenSockGlobals = {};" the error goes away. Can you advise how should I do to store my own version of TweenMax ? Do I need the line in order to capture my own version of TweenMax? Thank you!
  3. Can I set a TweenMax global setting to always parseTransform? I see that I need to learn to always use: TweenMax.fromTo.
  4. Ok. So parseTransform is inside the css:{ scale: 1, parseTransform: true } and it works.
  5. Hi Jack, Please don't take what I am saying the wrong way: Sometimes people forget to always read the new improvements! So if you are caching the values you should have a fail safe. How should I know that I need to set: 'parseTransform'? I don't know when this property was introduced but some of us are so old here that, I for one, forget to read all of your features. If one catches my eye and I need it I am reading about it. Setting 'parseTransform' is a first for me. I knew that I can scale and I tried to do that. I set the TweenMax.to( _blue, .6,{ css:{ scale: 1 }, parseTransform: true, ease:Quad.easeOut } ); and still doesn't work!
  6. I can't give you a codepen. I am just loading one file containing min.js of your package. If i replace ColorPropsPlugin(1.5.0) and put the old 1.3.0 the error doesn't show. This is what Chrome says about the Same Error: Uncaught TypeError: Cannot read property 'defaultStringFilter' of undefined at Array.<anonymous> (wpmc_greensock.js:46)
  7. TweenMax.to is broken! If I use TweenMax.fromTo( _blue, .3, { opacity: 1 }, { opacity: 1, ease:Quad.easeOut } ); TweenMax.fromTo( _blue, .6, { scale: 1.2 }, { scale: 1, ease:Quad.easeOut } ); It works! Why doesn't TweenMax.to work ?
  8. The animation works only once! After that only the opacity works!
  9. No, I want the opacity to have a different animation duration. Opacity a duration of 0.3 and Scale a duration of 0.6 When animating separately the scaling fails! I am supposed to animate an element different ways no ?
  10. I have send you a PM with a link to the entire file that I load. Tell me if you can load the file without getting any error.
  11. I have wasted hours trying to figure out why my animations don't work: This is a little bit frustrating. Find a simple example. http://codepen.io/anon/pen/xgdejr Thank you!
  12. Hi, I am combining multiple files into one. The order is: 1)ScrollTo 2)DrawSVG 3)ColorPropsPlugin(1.5.0) 4)TweenMax I have just updated from 1.17.1 to 1.19.1 The ColorPropsPlugin throws an error: TypeError: i is undefined - on column 3096 If I am using ColorPropsPlugin(1.3.0) It works. Thank you!
  13. Hi Carl, Yes I've tried animating when having different amount of colors and saw that is not working. I will use CSS after and before then with opacity. When you guys will have the time and find a clean solution send an email. Thank you to all of you for the great job you are doing. MT
  14. Hi, I've read a thread regarding animating linear-gradients but i don't understand how can I animate more than 2 colors in a linear-gradient. Example: The CSS would be: Out state: linear-gradient(to top, #2f2f2f 0%, rgba(255, 255, 255, 0) 100%) Over state: linear-gradient(to top, #d92255 0%, #b753f3 50%, #7180ac 100%) As you can see on over I use 3 colors. As per an example I saw http://codepen.io/jonathan/pen/vJwzD there you define top and bottom colors. Isn't there a way to animate the direct css like we do on a simple CSS property. For example: TweenMax.to( obj, .3, { css: { background: "linear-gradient(to top, #d92255 0%, #b753f3 50%, #7180ac 100%)" } } ); If i use the code above, there is no animation, only the change of the background like a normal CSS class. Thank you!
  15. So basically I reversed the ease on the timeline? Linear just multiplies by 1 and leaves each ease on out/in to do the job. Anyway this seems to be right and my eyes can't tell the difference. The code does. Thank you Carl and Diaco! PS: Also Thank you Jack! You guys are doing an awesom work
×