Jump to content
Search Community

bitrocker

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by bitrocker

  1. basically it's just like this:

     

    import com.greensock.*;
    import com.greensock.easing.*;
    import com.greensock.plugins.*;
    import com.greensock.OverwriteManager;
    
    TweenPlugin.activate([TintPlugin]);
    OverwriteManager.init(OverwriteManager.AUTO);
    
    this.addEventListener(MouseEvent.MOUSE_OVER, mouseover);
    this.addEventListener(MouseEvent.MOUSE_OUT, mouseout);
    
    function mouseover(e:Event):void
    {
    	if(e.target.name){
    		TweenLite.to(e.target.myTintedItemBackMovieClip, 0.5, {alpha:1, tint:0x093212});
    		TweenLite.to(e.target.myMenuItemTextMovieClip, 0.5, {tint:0xFFFFFF});			
    
    	}
    }
    function mouseout(e:Event):void
    {
    	if(e.target.name){
    		TweenLite.to(e.target.myTintedItemBackMovieClip, 0.5, {alpha:0, tint:0xFFFFFF});
    		TweenLite.to(e.target.myMenuItemTextMovieClip, 0.5, {tint:null});			
    	}
    }

  2. hi all,

     

    i'm trying to do that kind of "wave" effect for the list-items as used in the tweenlite/max plugin explorer: like roll-over/roll-out on

    an item but completing the tween (no overwrite) after you rollover/out. i'm using a simple tint tween on the background color of

    each item and a 'overwrite: false' on the items rollover/rollout event. somehow the result isn't what i expected, because it seems

    to "stutter". anyone has an example handy on how to do this kind of effect?

     

    thanks: lars

×
×
  • Create New...