Jump to content
Search Community

shunryu111

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by shunryu111

  1. custom ease would be awesome, i often find i need a tween that eases out more or differently to how it eases in.. combining something like Quad.easeIn with Expo.easeOut for example or easeInQuad then OutBounce. great tween library as is though, the best there is!

  2. hey.. i'm wondering if any of the overwrite modes complete a currently running tween? eg-

     

    TweenMax.to(box, 0.5, {css:{rotationY:"+=180"}});

     

    if this is called again before it completes the box ends up at what ever angle it was at +180

     

    to prevent this at the moment i'm putting before this tween another one..

     

    TweenMax.to(box, 0, {css:{rotationY:0}});

     

    but i'm hoping there is a cleaner way to do this. here's the full code

     

    http://jsfiddle.net/ninjabonsai/WPczm/

     

    cheers

  3. hi.. i'm trying to animate a div expanding and collapsing by animating the css height property with TweenMax

     

    TweenMax.from(testDiv, .35, {css:{height:0}, ease:Cubic.easeOut});
    

     

    this only animates the background of the div it seems.. not the text that's in it. the text is always visible. here's the div

     

    <div id="testDiv"
     style="position: absolute; background-color: rgba(255, 0, 0, .5); width: 320px; height:260px;">
    </div>
    

     

    i've tried jQuery slideDown() and this works hiding and revealing both background and text content

     

    any ideas?

     

    i'd rather use TweenMax for this

×
×
  • Create New...