2 Replies Latest reply on Mar 30, 2009 12:17 PM by KeithGilbert

    [JS CS4] how to add text to a rectangle

    KeithGilbert Level 1
      I understand that I can add text to a text frame with:

      myTextFrame.contents = "this is text"

      which works as long as myTextFrame is indeed a textFrame.

      However, now I have a rectangle, for which I have converted the content type to Text, via:

      myGraphicFrame.contentType = ContentType.TEXT_TYPE

      So why can't I now add text to the frame with:

      myGraphicFrame.contents = "this is text"

      ?