12 Replies Latest reply on Jun 1, 2012 9:03 AM by Marc Autret

    Apply [None] Color in TextFrame contents

    Pierre-RAFFA Level 1

      Hi all,

      Is it possible to apply [None] Swatch/Color to a TextFrame contents ?

       

      I currently use this:

       

      var vNoneColor = app.swatches.itemByName("None");

      for (var iText=0; iText < vTextFrame.texts.length ; iText++)

      {

              var vText = vTextFrame.texts.item(iText);

              alert(vText.contents);

              vText.fillColor = vNoneColor

       

      }

       

       

      or maybe create my own Color but it's not possible to change transparency.

       

      Thanks.

      Regards,

      Pierre RAFFA.