Jump to content
Search Community

MarcoDnk

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by MarcoDnk

  1. Hi,

     

    thanks for your welcome :)

     

    @Rodrigo allready tried but doesn't match my needs

     

    @Jack exactly what i need

     

    many thanks !

    var ghostScrollPositon = {
    	scrollLeft:myDraggable.scrollProxy.scrollLeft();
    };
    	
    TweenLite.to(ghostScrollPositon, .7, {
    	scrollLeft:560, 
    	ease:Power4.easeInOut, 
    	onUpdate:function(){
    		myDraggable.scrollProxy.scrollLeft(ghostScrollPositon.scrollLeft);
    	}
    });
    
  2. Hi all,

     

    i've got a Draggable that works pretty nice :)

    Draggable.create(jContainer, {type:"scrollLeft", edgeResistance:.8, throwProps:true});
    

    I'd like to animate the x position of my content when clicking on a button outside the draggable

    jBtn.click(function(){
    //here, move my container content inside the draggable 
    TweenLite.to(???, .7, {x:-560});
    });
    

    i can't find how to...

     

     

×
×
  • Create New...