# What's wrong here?

**URL:** <https://forum.kirupa.com/t/whats-wrong-here/235369>\
**Category:** Uncategorized\
**Created:** [August 10, 2007, 2:35pm UTC](https://forum.kirupa.com/t/whats-wrong-here/235369 "2007-08-10T14:35:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OMG](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OMG](https://forum.kirupa.com/u/OMG)\
**Post date:** [August 10, 2007, 2:35pm UTC](https://forum.kirupa.com/t/whats-wrong-here/235369/1 "2007-08-10T14:35:02Z")

</div>

```auto
 
package {
 import flash.display.*;
 public class Test extends Sprite {
  private var m1:Number=99;
  public var m2:Number=88;
  public override function toString():String {
   return m1 + ", " + m2;
  }
 }
}

```

when I use it as the main class of a .fla file, it generate the error:  
Test, line1 1180: call to a possibly undefined method addFrameScript
