9 Replies Latest reply on Mar 15, 2007 9:09 AM by Osh_it

    DropShadow problem

    gigisfarleaza
      Hi

      I have a serious problem... i have this code:

      var dropShadow:DropShadowFilter = new DropShadowFilter(actiune.distanta, actiune.unghi, actiune.culoare_umbra, 50, actiune.blur, actiune.blur, actiune.cantitate, 3, Inte, Taie, Ascunde);

      the problem is with the last tree variables: if the variables are all false the DropShadowFilter puts them true, if one is true it remains true


      for example:

      Inte=false
      Taie=false
      Ascunde=false

      i have to send them to component like this :

      var dropShadow:DropShadowFilter = new DropShadowFilter(actiune.distanta, actiune.unghi, actiune.culoare_umbra, 50, actiune.blur, actiune.blur, actiune.cantitate, 3, !Inte, !Taie, !Ascunde);

      and it's working fine....

      hope you'll understand ...
      please help