Skip navigation
Currently Being Moderated

reference error - cannot find tcmtext

Jun 6, 2011 9:14 AM

I get this kind of error after upgrading flash from cs5 to cs5.5

My library paths seem to be correct

 
Replies
  • Currently Being Moderated
    Jun 6, 2011 6:23 PM   in reply to birnerseff

    Pls give me the complete error message. For example, tcmtext in which class cannot be found?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 6, 2011 9:42 PM   in reply to birnerseff

    There must be xxx.TCMText. Pls tell me the caller's class name. Is caller an instance of fl.text.TLFTextField or a TLF object?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 8, 2011 1:53 AM   in reply to birnerseff

    I did not find tcmtext even in TLF 1.0. So pls port the question to http://forums.adobe.com/community/flash/flash_general.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 10, 2011 7:26 PM   in reply to Jin-Huang

    I was running Adobe Flash Professional CS5 CIAB through my recently upgraded Flash CS5.5. In Chapter 7, Using Text, I got these errors:

     

    ReferenceError: Error #1065: Variable TLFTextField is not defined.

     

    ReferenceError: Error #1065: Variable TCMText is not defined.

     

    I also though it was a Text Layout Format issue. That's how I landed here. I was about to give after reading this and similar threads when I re-read my Actions panel and discovered I had misspelled 'addEventListener' (see below).

     

    calculateBtn.addEventListtener(MouseEvent.CLICK, calculateMonthlyPayment);

     

    After correcting the typo, the errors went away. Thought this might be helpful.

     

    Now, I'm wondering why my typo doesn't get flagged through Check Syntax. But, that's for another time.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 12, 2011 6:43 PM   in reply to grandcedric

    See it from #2 http://forums.adobe.com/thread/855756?tstart=0

     

    What's more, TLFTextField is not a class in TLF but a class given by Flash pro to hold TLF text.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 18, 2012 4:21 PM   in reply to birnerseff

    This wasn't answered.  Just some people giving up because the Adobe user forums suck so bad.  This is a bug.  Like a lot of Adobe's glitches there doesn't seem to be any support from the corporation just a bunch of us poor fools searching for another work around.

     

    I get the same error code after importing some text as symbols in to Flash from Illustrator.

     

    Searched for the last hour and Adobe has no info out there that leads to a sollution.  Another dead end and time to start from scratch.  Thanks Adobe, your monopoly stands only because nothing better has come along yet.  As soon as it does you can kiss my license fees good by.

     
    |
    Mark as:
  • Currently Being Moderated
    May 28, 2012 7:56 PM   in reply to birnerseff

    I have Flash Pro CS 5.5.

    I made a singleton to manage the contextMenu for the document class of a couple of different SWFs.

     

    I immediately experienced the dreaded : ReferenceError: Error #1065: Variable TCMText is not defined.

     

    It wasn't until I was importing these two classes that I had this problem (with this project) :

    import flash.ui.ContextMenu;

    import flash.ui.ContextMenuItem;

     

    My class that is importing these two classes would instantiate and then I immediately get the runtime error (1065).

     

    THE FIX :

    I added this line and it compiled and worked for me :

    public var TCMText : *;

     

    I think the bug is that some Adobe code is expecting a dynamic class that it can stick the nefarious 'TCMText' property on and when it can't it freaks out.  Likely if my class was declared as dynamic (like the MovieClip class is) this wouldn't be a problem.

     

    I have generally stayed completely away from TLF TextFields because I have perceived them to be problematic.  I have gotten this error before and converting a TextField to a 'classic' TextField in the IDE properties panel made it go away.

     

    I hope this helps.  It *would* be cool if someone from Adobe could shed some light on this.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points