1 Reply Latest reply on Jan 22, 2009 6:30 PM by kglad

    why does this shadowfilter fail?

    shintashi Level 1
      It seems to check out, but I'm not seeing any shadow on my text.
      ------- code -------------
      import flash.filters.DropShadowFilter;
      var shdw:DropShadowFilter = new DropShadowFilter(5, 45, 0x000000, 0.5, 10, 10, 3, 6);
      tLabel.filters = [shdw];

      this.createTextField("tLabel", this.getNextHighestDepth(), 110, 110, 100, 50);

      //441
      tLabel.textColor = 0xFFFFFF;
      tLabel.text = "what?";
      //tLabel.font = "Monotype Corsiva";
      tLabel.multiline = true;
      tLabel.wordWrap = true;
      //makes text nonselectable for copypaste
      //tLabel.selectable = true;

      var style_fmt:TextFormat = new TextFormat();
      style_fmt.font = "Monotype Corsiva";
      style_fmt.size = 18;
      tLabel.setTextFormat(style_fmt);