26 Replies Latest reply: Jan 8, 2012 4:26 PM by A.Liebscher RSS

    Error #1065 Every Time Event Listener Is Added




      I am new to flash and having playing around to figure out what I can on my own, but this problem is really bugging me and I can't seem to solve it. I am trying to make an animation with three seperate buttons that when clicked on make one set of text disappear and new text appear in its place. My code so far looks like this:





      //---Bio Button Text---\\



      go.addEventListener (MouseEvent.CLCIK, bioplay);

      function bioplay event:MouseEvent) :void {




      Everything plays fine until I add the "go.addEventListener (MouseEvent.CLCIK, bioplay);     function bioplay event:MouseEvent) :void {          }." When this bit of code is added I get the error message:


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


      I don't know what this means and I can"t seem to figure it out on my own so any help would be much appreciated.