05.25.07

Flash CS3 / Flex Error Messages - Error #1063:

Posted in Flash, errors at 12:00 am by Curtis J. Morley

ArgumentError: Error #1063: Argument count mismatch on com.cjm::DrawLines/::onEnterFrame(). Expected 0, got 1.

This is an easy one it means that you got an argument passed to your function yet you did not specify that one was coming. So you did this "function Bob ()" instead of "function Bob (myEvent:Event)" This error is common when dealing with Events.

7 Comments »

  1. yarkehsiow said,

    December 20, 2007 at 9:25 pm

    Thank you so much for this.
    I’m just learning AS3, and found a few other similar pages which did not answer the question. then I stumbled over here…
    I appreciate the straightforward approach!

  2. Jeff said,

    January 13, 2008 at 9:59 pm

    Thanks! This helped.

  3. Bas said,

    June 12, 2008 at 4:20 pm

    This was just what I needed, thanks!

  4. j said,

    June 25, 2008 at 6:15 am

    thanks!

  5. Curtis J. Morley said,

    June 26, 2008 at 12:42 pm

    Yark, Jeff, Bas, and j,

    Glad this helped. Events can sometimes be tricky.

    Thanks,
    Curtis J. Morley

  6. Tetsu said,

    July 25, 2008 at 12:00 pm

    This just helped solve a coding problem that I’ve been working on for 2 hours. Thanks so much, Mr.Morley!!

  7. Curtis J. Morley said,

    July 26, 2008 at 9:45 pm

    Tetsu.

    どういたしまして. Let me know what else I can do for you.

    Thanks,

    Curtis J. Morley

Leave a Comment