Does anyone know if there is an Java 'invokeMethod' equivalent method for Flex?

Currently for our Java Applet our developers provide some public methods for objects which we can call.

We would like to be able to do the same in Flex, does anyone if this is possible and how it is done.