5 Replies Latest reply on Sep 15, 2009 6:43 AM by kglad

    Eraser effect

    Balambur

      I trying to realise an eraser effect but... no tutorial found... till now I make this... but don't know how to erase at specific zone-under sponge- whitout erase  all like in this fla... can anyone teach me please?

      For now is smth like:

      I have a layer for car, one for spongee and a layer for dust...

      Till now I just realize an alpha decrease for each sponge drag...

       

      stop ();
      var i=2;
      var d=100;
      sponge_mc.onDragOver=function() {
      d=d-i;
      ****_mc._alpha=d-i;


      }
      sponge_mc.onPress = function(){
      this.startDrag()

      }

      sponge_mc.onRelease = function(){
      this.stopDrag()
      }

       

      Thanx