3 Replies Latest reply on Oct 12, 2009 11:11 AM by Jeremy bowmangraphics-DQuh1B

    [JS] Gradient angle etc. works in CS3, but not CS4

    Jeremy bowmangraphics-DQuh1B Level 3

      I am applying a gradient to some text. The following works as intended in CS3, but I can't get it to work in CS4. When I select the text, the Swatches Panels shows it has the gradient applied, but the angle, length, and starting point have to be applied manually using the gradient tool. Any ideas?

       

      var myText = myTextFrame.paragraphs.everyItem();

      myText.fillColor = "PP";

      myText.gradientFillAngle = -90;

      myText.gradientFillLength = 90;

      myText.gradientFillStart = [100, 100];