Was wondering if anyone knows if Flash 4 has an API that will allow VB or Java to interface with it.

I want to have the ability to have a visitor to my site upload an image, have the image inserted into the library on the fly.

I know that I can do it thorugh Menu Commands manually, BUT can it be automated through the use of actionscript or through OLE automation using VB,C,Java,etc....

Thanks....

Flashmonkey