0 Replies Latest reply on May 24, 2006 12:15 AM by ritpas

    pb with shadow filter

    ritpas Level 1
      Hello,

      I have a pb with my shadow filter I applied to a simple MovieClip, in the code below, the shadowfilter works properly but when I hover the movieClip it doesn't dissappear (and so doesn't reappear when rolling out) :

      import flash.filters.DropShadowFilter;
      var dropShadow ropShadowFilter = new DropShadowFilter();
      carre.filters = [dropShadow];
      carre.onRollOver = function() {
      dropShadow.distance = 0;
      dropShadow.blurY = 0;
      dropShadow.blurX = 0;
      };
      carre.onRollOut = function() {
      dropShadow.distance = 4;
      dropShadow.blurY = 10;
      dropShadow.blurX = 10;
      };


      How do I do to make it disappear and reappear?

      Thanks a lot for your help