0 Replies Latest reply on May 12, 2008 11:15 AM by puponpup

    Use private function with interface

    puponpup
      I'm working with ActionScript 2 and wanted to use an interface for one of my classes. However, the functions that it would define should be private in the classes that implement the interface. The problem is that I can't define private functions in the interface, and if I leave off any scope in the interface ("function findAndSetInformation():Void;") and make it private in the implementing class ("private function findAndSetInformation():Void {...") I get the error: "The implementation of the interface method doesn't match its definition.