2 Replies Latest reply on Feb 10, 2009 6:37 PM by Newsgroup_User

    _key.key

    Level 7
      I have been making some changes to a program that I didn't develop. I'm
      using Director MX. I have opened the program probably 30 times, added code,
      tested it. It ran fine without errors.

      I'm doing some more work now on one behavior. I have made some code changes
      in that behavior and have run it several times. All of a sudden I'm getting
      an error on _key.key Handler not Defined. This code is not in any behaviors
      I've modified and I checked to see in the backup version if I accidentally
      type an odd char while this behavior might have been open, but the code
      matches the original version so that didn't happen.

      I'm sure this is because MX doesn't recognize the new OOP structure that MX
      2004 implemented.

      1) Why did this all of a sudden pop up when for a week it's been running
      perfectly?

      2) Is _key.key in MX 2004 EXACTLY the same as the key in MX, so if I do a
      global replace on _key.key, I won't have a problem?

      I could update the movie to MX2004 but I prefer to leave as much of the
      project as it was when I received it.

      Craig


        • 1. Re: _key.key
          Level 7
          In Director 9 and earlier "the key" is the command to use. In fact, I
          still use it in Director 10 and 11 because it makes more sense to me
          than _key.key which seems silly and redundant. I think you can safely
          find/replace it without problems, even if you upgrade the project to a
          newer version of Director.
          • 2. Re: _key.key
            Level 7
            Thanks

            --
            Craig

            "Mike Blaustein" <mblaustein@gmail.com> wrote in message
            news:gmsgrs$g53$2@forums.macromedia.com...
            > In Director 9 and earlier "the key" is the command to use. In fact, I
            > still use it in Director 10 and 11 because it makes more sense to me than
            > _key.key which seems silly and redundant. I think you can safely
            > find/replace it without problems, even if you upgrade the project to a
            > newer version of Director.