4 Replies Latest reply on Feb 21, 2009 1:52 PM by chopTheWood

    applying a glowFilter

    chopTheWood Level 1
      this is my mc script:
      on (press) {
      _root.theFilter(eval(this._target));

      }
      // this is frame 1:
      function theFilter(theTarget:Object) {

      import flash.filters.GlowFilter;
      // APPLY A GLOW EFFECT TO THE THUMB FOR THE LARGE IMAGE
      var filter:GlowFilter = new GlowFilter(0x000000, 0.8, 16, 16, 1, 3, false, false);
      theTarget.filter;

      }
      // nothing happens wen the mc is pressed
      thanks for helping