Here is the source code. Download

If you want to edit the code you need the following:

- Borland Delphi 5 and above
( you can get Turbo Delphi Explorer for free at http://www.turboexplorer.com/delphi )

- Delphi SDK from LazyDog ( http://www.3dgs.lazydogsoftware.com )

Note: To pass functions from/to Flash/3dgs you have to modify the code.
There is a function called "a5dll_callname". Please contact LazyDog if you want to use a similar function.