12 Replies Latest reply on Jul 1, 2006 2:17 AM by Peter Lorent

    AS3 oop problem

    Level 7
      I am a beginner with oop. Can anyone help me to understand what is wrong
      with this:

      public class MyClass{

      //set some variables in constructor

      public function myMethod():void{
      //my code



      The line that calls the function generates the error message:

      Call to a possibly undefined method myMethod.