7 Replies Latest reply on Nov 29, 2009 11:29 PM by Harbs.

    [JS] CS4 Anchored frame within anchored frame

    Fred Goldman Level 3

      With this code myGB is not returning the correct geometric bounds. Is anyone else noticing this?

       

      myFrame = myStory.insertionPoints[0].textFrames.add()

      myAGB = myFrame.geometricBounds;

      myAGB[1] = myFrame.geometricBounds[3] + 10
      myAGB[2] = myFrame.geometricBounds[2] + 10;
      myFrame.geometricBounds = myAGB

      myFrame2 = myFrame.parentStory.insertionPoints[0].textFrames.add()

      myGB = myFrame2.geometricBounds;