6 Replies Latest reply on Nov 14, 2007 7:47 AM by kglad

    Dynamic Text Field produces Error when named

    r_critchlow Level 1
      I have a movie clip (to be used as a button) on which I would like to place a dynamic text field that will be the button label. However, when I do this, Flash gives me a "1046: Type was not found or was not a compile-time constant: TextField." error message. This only happens if the text field has an instance name. Of course, without an instance name, you can't access the item to change the label text.

      Knowledgebase suggested clicking the Export SWC option in publish settings. That doesn't help. My expectation is that I just need to import a class. If you need more details on the code structure, let me know. CS3, AS3.

      Thanks in advance...
      -Rex