Jump to content
Search Community

kakarlus

Members
  • Posts

    25
  • Joined

  • Last visited

Posts posted by kakarlus

  1. Hi GSAP,

     

    I'm trying to animate a circle svg to have a thicker stroke grow outside while using drawSVG and playing with the radius.

    After animation the drawSVG is not working as expected, instead, it drew an arc less than 50% of the circle

     
    svg:
    <circle fill="none" id="lingin" stroke="#444444" stroke-width="0" stroke-miterlimit="10" cx="150" cy="125" r="100"/>
     
    js:
    TweenMax.to('#lingin', 3, {strokeWidth: 40, attr: {r: 120}, drawSVG: '0% 50%'});
     
    hAJH33M.png
     
    Regards,
    Carlos
  2. Hello GS,

     

    I have an stroke arc from 12o'clock to 6o'clock, when i tried animating it on using drawSVG plugin, it runs from 12o'clock to 6'oclock (ccw). Is there a way to reverse it to run from 6o'clock to 12o'clock? 

     

    Regards,

    Carlos

  3. Hello,

     

    I have this SplitText on my text which is a link basically. Sadly it triggers multiple times. Any help is appreciated.

    $(".info a").on({
        mouseenter: function(e) {
        	trace("mouseover");
          e.preventDefault();
          var tl = new TimelineMax, 
    			mySplitText = new SplitText($(this), {type:"chars"}), 
    			chars = mySplitText.chars; 
    			tl.staggerFromTo(chars, .03, {color:"#ffffff"}, {color:"#e6aa06"}, 0.03);
    			tl.staggerTo(chars, .03, {color:"#ffffff"}, 0.03);
        },
        mouseleave: function(e) {
        	trace("mouseout");
          e.preventDefault();
          var tl = new TimelineMax, 
    			mySplitText = new SplitText($(this), {type:"chars"}), 
    			chars = mySplitText.chars; 
    			tl.staggerFromTo(chars, .03, {color:"#ffffff"}, {color:"#e6aa06"}, 0.03);
    			tl.staggerTo(chars, .03, {color:"#ffffff"}, 0.03);
        }
    	});
    

    thanks,

    Carlos

  4. id suggest you use 2 images, 1 blurred and 1 that's not blurred. as the car is coming from the left use the blurred car, and once it reaches its destination quickly fadeout the blurred car and show the car that is not blurred.

  5. var duration = 0.65;
    var tl = new TimelineLite({onComplete: function(){ tl.reverse(); }});
    tl.addLabel(labels[0], 0);
    tl.appendMultiple([new TweenLite(help, duration, { _alpha: 0, delay: 3 }),
    				   new TweenLite(year, duration, { _alpha: 100, delay: 3 })
    				   ]);
    tl.addLabel(labels[1], duration*1); // first stop
    tl.appendMultiple([new TweenLite(dragger, duration, { _x : getXFor(arr[1]), ease: Strong.easeOut }),
    				   new TweenLite(year, duration, { _x : getXFor(arr[1]), ease: Strong.easeOut })
    				   ]);
    tl.addLabel(labels[2], duration*2); // 2nd stop
    tl.appendMultiple([new TweenLite(dragger, duration, { _x : getXFor(arr[2]), ease: Strong.easeOut }),
    				   new TweenLite(year, duration, { _x : getXFor(arr[2]), ease: Strong.easeOut })
    				   ]);
    tl.addLabel(labels[3], duration*3); // 3rd stop
    tl.appendMultiple([new TweenLite(dragger, 0.5, { _x : getXFor(arr[3]), ease: Strong.easeOut }),
    				   new TweenLite(year, 0.5, { _x : getXFor(arr[3]), ease: Strong.easeOut })
    				   ]);

    hi guys,

     

    im having a problem with tl.gotoAndPlay(label[0]). is there something im doing wrong here?

     

    thanks,

    Carlos

  6. im getting weird black 1px border around my images when i do colorTransform, here's the ss

     

    h2QWFMZ.jpg

     

    // and the code

     

    var image:Bitmap = Bitmap(e.target.content);//loader.content);

    image.smoothing=true;

    image.x = image.y = -21;

    if(image.width > 42) {

    image.width = image.height = 42;

    }

    addChild(image);

    image.alpha = 0;

     

    TweenMax.to(image, 0, {colorTransform:{exposure:1.8}});

    TweenMax.to(image, 1, {alpha: 1});

    TweenMax.to(image, 1, {colorTransform:{exposure:1}, delay: 1});

  7. hi guys,

     

    i have a lot of animation in around 5-7 views, my problem is that i can't pinpoint where the tweenmax error ocurs. do you have any tips such that it displays in which class (my class) does the error ocur. any help will be appreciated.

     

     

    TypeError: Error #1034: Type Coercion failed: cannot convert global@10a1af01 to flash.display.DisplayObject.

    at MethodInfo-3637()

    at Function/http://adobe.com/AS3/2006/builtin::apply()

    at com.greensock.core::TweenCore/complete()

    at com.greensock::TweenMax/complete()

    at com.greensock::TweenMax/renderTime()

    at com.greensock.core::SimpleTimeline/renderTime()

    at com.greensock::TweenLite$/updateAll()

     

     

    thanks,

    carlos

×
×
  • Create New...