# Help w/ error

**URL:** <https://forum.kirupa.com/t/help-w-error/308603>\
**Category:** Uncategorized\
**Created:** [April 26, 2010, 8:33pm UTC](https://forum.kirupa.com/t/help-w-error/308603 "2010-04-26T20:33:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![webguync](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/webguync/32/2434_2.png) [@webguync](https://forum.kirupa.com/u/webguync)\
**Post date:** [April 26, 2010, 8:33pm UTC](https://forum.kirupa.com/t/help-w-error/308603/1 "2010-04-26T20:33:09Z")

</div>

can someone explain this error to me?

```auto

1061: Call to a possibly undefined method getRealNum through a reference with static type exam:XaMLDiplomat.

```

the code is here:

```auto

private function recordSelection(e:ResponseEvent):void {
            var qnum:Number = myDiplomat.getRealNum(currentQ);
            var resp:String = e.letter;
            var ans:String = myDiplomat.getAnswer(qnum);
            myRecords.newResponse(qnum, resp, ans);
            //trace("number:"+qnum+" response:"+resp+" ans:"+ans);
            mySkipper.setAnswered(currentQ);
            myTab.showProgress((mySkipper.answerCount())/(myDiplomat.getQCount()));
        }

```

and specifically this line seems to be the culprit.

```auto

var qnum:Number = myDiplomat.getRealNum(currentQ);

```
